Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi All,
I have developed one common job A . It is FTP server check job. In this job I am using host,user id,pass,port.context Variables.
I need to use same job in other jobs B,C,D etc. I want to know how to call job A and pass the context value dynamically in TALEND.
So due to this j can save my time to write same code multiple times.
It would be great if you share the cod screen shot for my reference.
Regards,
Rahul
Hello,
If you want to return a value or rows from a child Job to the parent Job for further use, please take a look at this community knowledge article: https://community.talend.com/s/article/Returning-a-value-from-a-child-Job-to-the-parent-Job-DqbEu
If you want a value from the parent Job to the child Job, here is another article about: https://community.talend.com/s/article/Passing-a-value-from-a-parent-Job-to-a-child-Job-OPRy5
Best regards
Sabrina
@Rahul Jadhav ,check the below example .
https://community.talend.com/s/article/Passing-a-value-from-a-parent-Job-to-a-child-Job-OPRy5
Hi
You can use tRunJob to call another job in a job, check the 'transmit the whole context' box on tRunJob if the main job and child job have the same context variables and you want to pass the context value automatically.
The following articles may be useful for you.
https://help.talend.com/reader/1eXt7xgFLapJl7Izc3vxQQ/9_gEJdfccoa5Zm45WZQo~A
https://community.talend.com/s/article/Passing-a-value-from-a-parent-Job-to-a-child-Job-OPRy5
Regards
Shong