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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

tPostJob execution when error in active job

hi,
in TOS 3.1.1 the tPostJob component triggers a task required after the exécution of a job ( regardless of any error in the actual Job).
when having :
- a parent job (Die on child error selected)
- calling a child job with e.g. an SQL component and whith a tPostJob component doing some stuff (e.g. tJava sending info to consol)

Test:
on SQL error is generated in the SQL component of the Child Job

Expected:
the parent job is supposed to die since we have selected the "Die on child error" option.
Result:
the parent job runs as if there is no error at all!
Temporary solution:
the error is catched well by the parent job only if we remove the tPostJob and , in the example above, we link the tJava component to the SQL component in the child JOB.

QUESTION:
is it expected behaviour?
Should'nt we be able to decide if we run or not the tPostJob when an error (java, or tDie) is generated during execution of the ChilJobs?
Why not adding a feature to the tPostJob component e.g. "run on Job error: Yes/No"?
As well, should the error be propagated or not? I guess it sould be, but maybe an additionnal option could be "error propagation: Yes/No"?
thanks for any comments.
Labels (3)
1 Reply
Anonymous
Not applicable
Author

any news on that one?
At this time I can't use the TPostJob even thought I would like to.
But since errors aren't propagated to the parent, that component is just useless for me.
Thanks for comments.