Talend : Passing Parameters and Variables to Parent job

 Talend : Passing Parameters and Variables to Parent job

You can send context variable or globalMap variables from parent to child job , here is the easiest way :

  • Create the context variable name in the child job.
  • In tRunjob , go on component tab and :

Select which variable you want to send , you can for example send the Whole context.

“Transmit whole context” is used to transmit all the context variables of a parent job to a child job.

If your parent job has 5 context variables but your child job needs only 3, you don’t transmit “the whole context” but only the 3 interresting variables.

Overview

Passing a value from the parent Job to the child Job is a common real world requirement. This article serves as a best practice guide.

 

This scenario describes a Job that retrieves bufferized data from a subjob and displays it on the console, modify the value in the child job then pass it again to the parent and display again the new value

Context talend var

Talend : Passing Parameters and Variables to Parent job

Talend job : Passing Parameters and Variables to Subjob and vice versa

 

 

 

This template job allows you to :

  • retrieves data bufferized inside a child job into the parent
  • retrieve data passed to a child from a parent job

This scenario describes a Job that retrieves bufferized data from a subjob and displays it on the console, modify the value in the child job then pass it again to the parent and display again the new value

 

—————————————-

At TalendExpert.com, we have helped many organisations with our expertise to develop & deploy Talend ESB solutions and we have an excellent feedback from our customers.

If you are looking for help, check our existing offered packages for consulting we can work together and assist your internal teams, this will save you time & cost.

 

Leave a Reply