Running multiple interdependent jobs one after other

Six Stars

Running multiple interdependent jobs one after other

Hi,

I have a case where a Job has to be broken down to two sub jobs as I have to take the output of one job, do some modification (in the output table) and use it as an input to the next job. So, how to do it ? If i try to do something like in the screenshot below then it runs both the jobs simultaneously which I don't want.

multi.jpg

Four Stars

Re: Running multiple interdependent jobs one after other

Hi, Make sure the 'Multi thread execution' option is unchecked in your Job->Extra properties.Multithread.PNG

Six Stars

Re: Running multiple interdependent jobs one after other

Hi, 

It is unchecked, but still both the units run together when I execute the job.

Seven Stars

Re: Running multiple interdependent jobs one after other

Select on subjob ok from db input components
Moderator

Re: Running multiple interdependent jobs one after other

Hi,

 

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

With OnComponentOK, the linked subjob starts when the previous component finishes.

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.

2019 GARTNER 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

Best Practices for Using Context Variables with Talend – Part 2

Part 2 of a series on Context Variables

Blog

Best Practices for Using Context Variables with Talend – Part 1

Learn how to do cool things with Context Variables

Blog

Migrate Data from one Database to another with one Job using the Dynamic Schema

Find out how to migrate from one database to another using the Dynamic schema

Blog