O'Reilly logo

Talend Open Studio Cookbook by Rick Barton

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Passing parameters to a child job

In this recipe, we will show how parameters can be passed to a common child job.

Getting ready

Open the job jo_cook_ch11_0070_childParameters. This job simply executes a child job. If you examine the child job, you will see that it prints the value of the context parameter inputParameter.

How to do it…

  1. Run the parent job.
  2. You will see that the value for inputParameter is fromChild.
  3. Open the tRun component tab, and click on + to add a Context Param option.
  4. Untick Transmit whole context.
  5. Select inputParameter in the Parameters column, and set the Value to fromParent, as shown in the next screenshot:
    How to do it…
  6. Run the job, and you will ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required