Using the "Use dynamic job" option

One Star

Using the "Use dynamic job" option

Hi all,
Actually using version Talend 5.3 Data Integration.
I'm experiencing troubles to fix dynamically the context of a tRunJob component while using the "Use dynamic job" option.


Here's the single-component job (father) :




The father's job context :



The configuration of the child Job (tRunJob_1 ) :




When executing the father job, the job parameter is well used, sow we can swittch to right child job by changing the value of context.job in the father's context view.

However, the behaviour is just as if the context parameter (context.env) is ignored and the Default context is used.

If I fix directly the context value (by replacing context.env with "PFV") then it works but I need to fix it dynamically.

May I have forgotten something ???.


Thank you.

One Star

Re: Using the "Use dynamic job" option

I realized many tests before writting this post.

Is the field of the context insensitive to parametered values ?
Moderator

Re: Using the "Use dynamic job" option

Hi,
Have you already checked the component TalendHelpCenter:tRunJob with scenario 2: Running a list of child Jobs dynamically?

Best regards
Sabrina
--
Don't forget to give kudos when a reply is helpful and click Accept the solution when you think you're good with it.

2019 GARNER MAGIC QUADRANT FOR DATA INTEGRATION TOOL

Talend named a Leader.

Get your copy

OPEN STUDIO FOR DATA INTEGRATION

Kickstart your first data integration and ETL projects.

Download now

What’s New for Talend Summer ’19

Watch the recorded webinar!

Watch Now

Best Practices for Using Context Variables with Talend – Part 4

Pick up some tips and tricks with Context Variables

Blog

How Media Organizations Achieved Success with Data Integration

Learn how media organizations have achieved success with Data Integration

Read

Agile Data lakes & Analytics

Accelerate your data lake projects with an agile approach

Watch