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

Announcements
Qlik GA: Multivariate Time Series in Qlik Predict: Get Details
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

[resolved] changing the execution order of Subjobs

Hi,
How can I change and set the order of execution of subjobs within a job?
Thanx
Labels (2)
1 Solution

Accepted Solutions
Anonymous
Not applicable
Author

Do you want to fix a rigid order of processing or want something that can be dynamic? If it is the first, then all you need to do is start with the subjob you want to start with, right click on its first component, select "Trigger" then "On Subjob OK" and link it to the first component of the subjob you want to run next. Link each of your subjobs in that way and you will have a strict order.
If you want a dynamic order driven by some logic, that is possible using "Run If" triggers. However, it takes a little bit more thinking about and jobs can end up looking quite messy unless you break them down into a parent/child job structure.

View solution in original post

4 Replies
David_Beaty
Specialist
Specialist

Can you post a picture of your job so we can see what you're doing thus far.
Thanks
Anonymous
Not applicable
Author

The subjobs are executed in the order of the order of components tOracleInput_1 ,tOracleInput_2,.... I need to change the order without re-creating the components so that tOracleInout_1 to be executed last.

0683p000009MBQl.png
Anonymous
Not applicable
Author

Do you want to fix a rigid order of processing or want something that can be dynamic? If it is the first, then all you need to do is start with the subjob you want to start with, right click on its first component, select "Trigger" then "On Subjob OK" and link it to the first component of the subjob you want to run next. Link each of your subjobs in that way and you will have a strict order.
If you want a dynamic order driven by some logic, that is possible using "Run If" triggers. However, it takes a little bit more thinking about and jobs can end up looking quite messy unless you break them down into a parent/child job structure.
Anonymous
Not applicable
Author

Thanx it resolved my problem