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

Announcements
ALERT: The support homepage carousel is not displaying. We are working toward a resolution.

Qlik Talend Studio: What is the difference between OnSubjobOK and OnComponentOK?

100% helpful (1/1)
cancel
Showing results for 
Search instead for 
Did you mean: 
TalendSolutionExpert
Contributor II
Contributor II

Qlik Talend Studio: What is the difference between OnSubjobOK and OnComponentOK?

Last Update:

Dec 23, 2025 8:04:21 PM

Updated By:

Shicong_Hong

Created date:

Apr 1, 2021 6:11:41 AM

Answer

OnSubjobOK and OnComponentOK are trigger links, which can link to another subjob. The main difference between them lies in the execution order of the linked subjob.

  • With OnSubjobOK, the linked subjob starts only when the previous subjob completely finishes.
  • With OnComponentOK, the linked subjob starts when the previous component finishes.

 

What is a subjob?

A subjob is a self-contained subset of a larger Job, composed of components and links.

The following diagram shows a Job with three subjobs:

0693p000008uAySAAU.png

The execution order of subjobs linked by OnComponentOK is within the execution cycle of the previous subjob. In this example, subjob 2 starts when tLogRow_1 finishes; subjob 3 starts when both subjob 1 and subjob 2 end, because subjob 2 runs within the execution cycle of subjob 1.

Only the first component of a subjob can use the OnSubjobOK link.

Labels (2)
Version history
Last update:
2 weeks ago
Updated by: