Job Automation

Five Stars

Job Automation

I have 2 set of jobs (job A and job B) which include insert and update of data depending on some criteria . These jobs run daily. Everyday I get a new file and  looking at the data i decide which one of the two i need to run.

 

In the file there is a field called state. And state field can have 3 values : a,c or d.

If state field has only a's in it then I need to run the Job A

If the state field has a mixture a,c and d vales then i need to run job B

 

My problem statement is : I want to automate the above process. I want to have a new job which will check the vales in state field and decide which job to run next.(using tRunjob). Can someone guide me how to do i achieve this in Talend? Below are two images . 1 one is what i have and 2 one is what i want to achieve

job scenario.JPGjobop.JPG

 

 


Accepted Solutions
Highlighted
Eight Stars

Re: Job Automation

Should be pretty similar to your second pic.  Try the following

Untitled.png

 

You can use the "run if" conditional to branch and run subjobs based on conditions.


All Replies
Highlighted
Eight Stars

Re: Job Automation

Should be pretty similar to your second pic.  Try the following

Untitled.png

 

You can use the "run if" conditional to branch and run subjobs based on conditions.

Five Stars

Re: Job Automation

Thanks . Will Implement this and let you know .

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

Agile Data lakes & Analytics

Accelerate your data lake projects with an agile approach

Watch