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
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!
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)
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
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.