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: 
_AnonymousUser
Specialist III
Specialist III

Difference between OnSubJobOk and OnComponentOk WHEN using itRunJob

Hey guys,
ive a little question.
What is the difference between OnSubJobOk and OnComponentOk when using it as the output from a tRunJob component?
Labels (2)
5 Replies
Anonymous
Not applicable

Hi,
Have you already checked KB article about:TalendHelpCenter:What is the difference between OnSubjobOK and OnComponentOK?
Best regards
Sabrina
_AnonymousUser
Specialist III
Specialist III
Author

Hi,
Have you already checked KB article about:TalendHelpCenter:What is the difference between OnSubjobOK and OnComponentOK?
Best regards
Sabrina

Hello Sabrina,
I think you misunderstood me.
I have a fatherjob with 3 tRunJob components.  Each one triggers a unique talend job. If one of these childjobs is finished the flow goes up again to the fatherjob. And now how do I start the next talendjob correctly.
For example:
fatherjob
|
tRunJob--> triggers another talendjob
|
fatherjob
|
tRunJob--> triggers another talendjob
|
fatherjob
|
tRunJob--> triggers another talendjob
|
fatherjob ends
Greetings
Anonymous
Not applicable

Hi,
 OnSubjobOK link (previously Then Run) is used to trigger the next subjob on the condition that the main subjob completed without error.
For your scenario, you can use OnSubjobOK trigger so that tRunJob2 starts only when the tRunjob1 completely finishes.
Let us know if it is Ok with you.
Best regards
Sabrina
_AnonymousUser
Specialist III
Specialist III
Author

Thank you. Thats the information I was looking for.
Greeting 0683p000009MACn.png
Anonymous
Not applicable

Hi,
It's great. Could you please mark this topic as resolved? Feel free to let us know if there is any further help we can give.
Best regards
Sabrina