Difference between OnSubJobOk and OnComponentOk WHEN using itRunJob

One Star

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?
Moderator

Re: Difference between OnSubJobOk and OnComponentOk WHEN using itRunJob

Hi,
Have you already checked KB article about:TalendHelpCenter:What is the difference between OnSubjobOK and OnComponentOK?
Best regards
Sabrina
--
Don't forget to give kudos when a reply is helpful and click Accept the solution when you think you're good with it.
One Star

Re: Difference between OnSubJobOk and OnComponentOk WHEN using itRunJob

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
Moderator

Re: Difference between OnSubJobOk and OnComponentOk WHEN using itRunJob

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
--
Don't forget to give kudos when a reply is helpful and click Accept the solution when you think you're good with it.
One Star

Re: Difference between OnSubJobOk and OnComponentOk WHEN using itRunJob

Thank you. Thats the information I was looking for.
Greeting Smiley Happy
Highlighted
Moderator

Re: Difference between OnSubJobOk and OnComponentOk WHEN using itRunJob

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
--
Don't forget to give kudos when a reply is helpful and click Accept the solution when you think you're good with it.

15TH OCTOBER, COUNTY HALL, LONDON

Join us at the Community Lounge.

Register Now

2019 GARNER MAGIC QUADRANT FOR DATA INTEGRATION TOOL

Talend named a Leader.

Get your copy

OPEN STUDIO FOR DATA INTEGRATION

Kickstart your first data integration and ETL projects.

Download now

What’s New for Talend Summer ’19

Watch the recorded webinar!

Watch Now

Best Practices for Using Context Variables with Talend – Part 4

Pick up some tips and tricks with Context Variables

Blog

How Media Organizations Achieved Success with Data Integration

Learn how media organizations have achieved success with Data Integration

Read

6 Ways to Start Utilizing Machine Learning with Amazon We Services and Talend

Look at6 ways to start utilizing Machine Learning with Amazon We Services and Talend

Blog