Search code examples
exceptiontalend

Talend - Component that checks for any failure in multiple tRunjob


I did some search before posting this, couldn't find the talend component that will do the "Any failure" check mentioned in the image. any input is appreciated.

I have multiple tRunjobs which has to execute one after the other "on Subjob OK" but upon failure of any of the tRunjob, first the job has to catch the failure log and send a mail and then abort, I have tried to put this as a image, I'm particularly looking for the component "Any failure" which will check for any failure on any of the tRunjob. which component will do that?

on failure of any trunjob


Solution

  • I have used a similar approach in the past. This depends how the three jobs are called - I called them from one "handle all the stuff" job and used subjobs. E.g. this would lead to "Any Failure" is also the job which is calling the three subjobs.

    Usually I only add a tLogCatcher in the main job which is calling the three other jobs. Then I make sure that the components in the three other jobs are set to throw errors if something goes wrong. All error handling would be done then in the main job.