Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Join us in Toronto Sept 9th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

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
Labels (2)
3 Replies
NicolasTT
Contributor
Contributor

Hi,
You can create an independent job 'FailureJob' which contains your tSendMail.
And add this job after each 'on subjob error'.
Anonymous
Not applicable
Author

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.
Anonymous
Not applicable
Author

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.