Skip to main content
Announcements
A fresh, new look for the Data Integration & Quality forums and navigation! Read more about what's changed.
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

How to run same job with multiple times in parallel in Talend Open Source Studio

Hi All,

I am using Talend Open SOurce Studio. And i have a use case like as - I want to execute same job multiple times with different WHERE condition and this has to be parallel execution. I've used multi thread option of tRunJob but i am not getting desired outcome.

It means how to get different values for same dynamically. If i am using context then it would be same for all threads.

Please provide me appropriate solution.

Thanks in advance

Vishal Vats

9650236023

vishalvats.in@outlook.com

Labels (2)
1 Solution

Accepted Solutions
fdenis
Master

here is the documentation with samle:
https://help.talend.com/reader/KxVIhxtXBBFymmkkWJ~O4Q/HWMTwTCxdzqR0bzDViupTg
in our case you fave to create a job retrieving where clause (sample: read from a file ) in row link add flow to iterate them iterate to trunJab.
this job get context from the previous one and run a query adding the where close.

View solution in original post

3 Replies
fdenis
Master

calling a subjob, you can set context variable of the subjob.
Anonymous
Not applicable
Author

I did the same. But it wasn't working properly. could you elaborate more?

Thanks for your consideration.
fdenis
Master

here is the documentation with samle:
https://help.talend.com/reader/KxVIhxtXBBFymmkkWJ~O4Q/HWMTwTCxdzqR0bzDViupTg
in our case you fave to create a job retrieving where clause (sample: read from a file ) in row link add flow to iterate them iterate to trunJab.
this job get context from the previous one and run a query adding the where close.