How to restart or re-run failed job?

One Star

How to restart or re-run failed job?

Hello,
I am new to talend.
In my talend job there are multiple tables I am trying to copy data from input to output.
Now if my one of the copying table fails than I want to re-run that table.
Is there any mechanism available for re-run the subjob(for individual tables)?
Any help is appreciated.
Thanks,
Niket
One Star

Re: How to restart or re-run failed job?

Hello Niket,
I'm thinking of a solution - your subjob should not 'fail'. better if it ends with an error code and message, so the calling job cound identify a problem or/and rollback a message or retry something.
Gabriel
One Star mpa
One Star

Re: How to restart or re-run failed job?

Niket,
You could make a job for every table. Then Create a job "Run all tables" and drag and drop all your jobs in the "parent" job.
In case that a subjob fails you just run that subjob again.
Regards
One Star

Re: How to restart or re-run failed job?

Thank you for your reply.

mpa,
There are more than 150 table and I have divided them into 8 jobs.
Is there any logic available so that I can automatically re-run the job for particular table or a job/subjob ?
Say for table X if there is a connection error or data error than I want to re-run that table automatically..lets say atleast 3 times it should run automatically after error.
I am getting error notification through email but I want to rerun automatically.
Thanks,
Niket