Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
I just want to get the count of records processed in child job into Parent job using global variables. If anyone knows the process, please do reply.
Thank you,
Hi,
You can do it easily using context variable transmission from parent to child. Please refer the below link for details.
If your query is to transmit the data back from child job to parent job, I have already answered your query in another post. The link is as shown below. I would request you not to create duplicate posts on same topic.
Warm Regards,
Nikhil Thampi
Please appreciate our Talend community members by giving Kudos for sharing their time for your query. If your query is answered, please mark the topic as resolved
Hi @bojareddy,
I don't think Global Variable can achieve this... but using tBufferOutput component, at the end of the child job can.
For this example i used a tFixedFlowInput to simulate one row with schema : NB : integer|int. (value here is 50)
In the parent job, just draw a row from the tRunJob component to retrieve the data from child.
Don't forget to check that tRunJob schema in parent job is the same as tBufferOutput schema in the child Job, a shortcut to do this is the copy child schema option of the tRunJob component.
Global Design :
See documentation here : https://help.talend.com/reader/PZLIDN6i9dp44W62WYylEw/ELtD2qCuYfbOpfoL_p7FIw
Hope this can help you.