You are not logged in.

Unanswered posts



Important! This site has been replaced. All content here is read-only. Please visit our brand-new community at https://community.talend.com/. We look forward to hearing from you there!



#1 2016-10-20 06:28:59

RSH
Member
121 posts

RSH said:

Talend jobs

Hi,

I am using Talend open studio 5.6. My requirement is as below. My single job will run max 10 times. If it runs perfectly it will create success logs but if not runs then it will rerun for max 10 times. If still it is not running then it should get stop and then Unsuccessful log should be created. 

Please guide.

Offline

#2 2016-10-24 19:03:20

jlolling
Member
3186 posts

jlolling said:

Re: Talend jobs

I suggest you build a steering job which calls the worker job 10 times in a subjob (tLoop_1 --iterate->tRunJob_1)
If this subjob runs fine -> use the OnSubjobOk trigger do what you need for the success.
If the subjob fails -> use the OnSubjobError trigger do the error handling.
In this simple case I suggest of copy this subjob twice (tLoop_2 -iterate-> tRunJob_2) and run this in the error case.


Talend Certified working for cimt objects AG in Berlin

Offline

Board footer

Talend Contributor Agreement - Talend Website Privacy Policy