how to reuse job in other job

Seven Stars

how to reuse job in other job

I want to create a tracking table job which output data to mysql db,  which are having following columns 

1. datetime (when job ran)

2. number of rows in column 'email' (from source db job1)

3. number of rows in column 'phone' (from source db job1)

4. number of accepted rows in column 'emailAccepted' (from job3)

5. number of rejected rows in column 'emailRejacted' (from job3)

6. number of accepted rows in column 'phoneAccepted' (from job3)

7. number of rejected rows in column 'phoneRejacted' (from job3)

8. total time taken in 'timefinished' to finish the job 

 

there are few criteria on which email and phone number are accepted/rejected in csv files.

i thought of reusing the jobs, is there any best possible way.

Community Manager

Re: how to reuse job in other job

You appear to have asked a very similar question elsewhere. I gave an answer here https://community.talend.com/t5/Design-and-Development/reuse-job-or-other-option-to-get-data-from-mu...

 

But if you just want to know how to use a job within another, you simply drag it into the job you want to use it in and pass values to it using context variables (context variables defined inside the job you want to use). Take a look here https://help.talend.com/reader/jomWd_GKqAmTZviwG_oxHQ/MtazXrCxpWSuiIwNDwqc8A

What’s New for Talend Spring ’19

Watch the recorded webinar!

Watch Now

Tutorial

Introduction to Talend Open Studio for Data Integration.

Watch

Downloads and Trials

Test drive Talend's enterprise products.

Downloads

Definitive Guide to Data Integration

Practical steps to developing your data integration strategy.

Download