• Index
  •  » Talend Open Studio for Data Integration » Usage, Operation
  •  » [resolved] tFileList having more then one file run the sub-job more then one time

#1 2012-05-24 11:59:28

NitinMunjani
Member
Registered: 2012-04-28
Posts: 33

[resolved] tFileList having more then one file run the sub-job more then one time

Tags: [development]

Hello Talend Team,

my job design is mentioned below.

tFileList1---iterate--->tFileinputdelimeter---->tMap----->tSalesforceInputBulk------onComponetok---->tSaleforceBulkExe
                                                                                                                                                        |
  <-----------------------------------------------------------------------------------------------------------------on Subjob ok
  |
tFileList2---iterate--->tFileinputdelimeter---->tMap----->tSalesforceInputBulk------onComponetok---->tSaleforceBulkExe


when the tFileList1 have 1 file, everything works fine, but when tFileList1 have more then 1 file it run the second sub-job more then 1 times. (it should be run once but its not)

it run the second sub-job, the file existed in the tFileList1.

I have tried "onComponent ok" but its also give the same result.

Please help me.

Thank you,
Nitin

Last edited by NitinMunjani (2012-05-24 12:02:59)

Offline

#2 2012-05-24 12:02:26

pedro
Member
Registered: 2011-11-17
Posts: 3682

Re: [resolved] tFileList having more then one file run the sub-job more then one time

Hi Nitin

The job should be like this.

tFileList1---iterate--->tFileinputdelimeter---->tMap----->tSalesforceInputBulk------onComponetok---->tSaleforceBulkExe
|
on Subjob ok
  |
tFileList2---iterate--->tFileinputdelimeter---->tMap----->tSalesforceInputBulk------onComponetok---->tSaleforceBulkExe
Add 'OnSubjobOk' between tFileList1 and tFileList2.

Regards,
Pedro


Only Paranoid Survive.

Offline

#3 2012-05-24 12:07:00

NitinMunjani
Member
Registered: 2012-04-28
Posts: 33

Re: [resolved] tFileList having more then one file run the sub-job more then one time

Thank you pedro for your quick reply.

its work fine now.

Offline

  • Index
  •  » Talend Open Studio for Data Integration » Usage, Operation
  •  » [resolved] tFileList having more then one file run the sub-job more then one time

Board footer

Powered by FluxBB