Merge several "On Subjob Error"-Connectors to one component/subjob

One Star

Merge several "On Subjob Error"-Connectors to one component/subjob

Hi there!
We have a job-chain executing several subjobs, all jobs are connected with "on subjob ok". So the end of the chain is only reached if all subjobs ended with "ok".
What we try to realize is to connect ALL "on subjob error" connectors to ONE component (tSendMail) to notify us, if any of the subjobs ended with an error.
Connecting more than one connector to the tSendMail component doesn't work. So any suggestions how we could get that working?
Thanks in advance!
Greetings, Christopher
One Star

Re: Merge several "On Subjob Error"-Connectors to one component/subjob

Hi,
You can create an independent job 'FailureJob' which contains your tSendMail.
And add this job after each 'on subjob error'.
One Star

Re: Merge several "On Subjob Error"-Connectors to one component/subjob

Hi NicolasTT,
I thought there could be a component that accepts many input-connectors and has only one output connector. If any of these input-connectors is triggert the output connector would be triggert.
Like an opposite to the "tParallelize" component.
Highlighted
Seventeen Stars

Re: Merge several "On Subjob Error"-Connectors to one component/subjob

I do this in this way:
subjob 1 ---> OnSubjobError ---> tJava_1 (leaf it empty) ---> OnComponentOK --------------
|
subjob 2 ---> OnSubjobError ---> tJava_2 (leaf it empty) ---> OnComponentOK ---> subjob for error handling
I know it looks a bit cumbersome but it is quick done.

2019 GARNER MAGIC QUADRANT FOR DATA INTEGRATION TOOL

Talend named a Leader.

Get your copy

OPEN STUDIO FOR DATA INTEGRATION

Kickstart your first data integration and ETL projects.

Download now

What’s New for Talend Summer ’19

Watch the recorded webinar!

Watch Now

Best Practices for Using Context Variables with Talend – Part 4

Pick up some tips and tricks with Context Variables

Blog

How Media Organizations Achieved Success with Data Integration

Learn how media organizations have achieved success with Data Integration

Read

APIs for Dummies

View this on-demand webinar about APIs....

Watch Now