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

Announcements
Qlik Connect 2026! Turn data into bold moves, April 13 -15: Learn More!
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Subjob execution order

Hi,
I'm beginner in Talend and in this forum.
I create a job which have 3 subjobs and there isn't any connexion between all 3.
I just want to know what execution order talend choose ?
Subjob 1 -> Subjob 2 -> Subjob 3
or
Subjob 1 -> Subjob 3 -> Subjob 2
or
Subjob 3 -> Subjob 2 -> Subjob 1
or
.................................................
or
.................................................
or all 3 in parallel.
Thanks
Labels (2)
6 Replies
Anonymous
Not applicable
Author

Hi
You can use the connector 'onsubjobok' to control the execution order of each subjob. eg:
Subjob 1
|
onsubjobok
|
Subjob 2
|
onsubjobok
|
Subjob 3
Let us know if you have any questions!

Best regards
Shong
Anonymous
Not applicable
Author

Thanks you shong for your quick reply.
I agree with your idea : That's what I would do in a normal case.
But Actually I work on an existing project and I must understand all the process.
The project run well but I want to know what is Talend behaviour when I run a job which contains many
subjobs without connections between them / How can I control that ? (Excuse for my English I'm a french guy)
Anonymous
Not applicable
Author

To control that, i personnaly use the tPrejob and tPostjob components. Then you are sure of the execution order.
You can also create a main job like this :
tRunJob_1 (u indicate the first job to execute (jow with only 1 flow))
|
onsubjobok
|
tRunJob-2
|
onsubjobok
|
tRunJob-3
alevy
Specialist
Specialist

what is Talend behaviour when I run a job which contains many subjobs without connections between them

We had a newbie training session from one of the support consultants recently and this question was asked. He said there is no way to know for sure what order the subjobs will be executed and it might not be consistent from one run to the next. I suspect it might depend on the order the component were added to the job design or something to that effect.
Anonymous
Not applicable
Author

Thanks you alevy....that's exactly what I want to know.
Anonymous
Not applicable
Author

in TIS, with the job property "enable parallel execution" disconnected subjobs will all execute in parallel.