Context group in master job

Highlighted
Five Stars

Context group in master job

Hi All,

 

I have three context groups Dev,Test,Prod, in global context.

I have created one master job contains 20 sub jobs in which I have used Dev as a context group, now I'm planning to run the code in prod.

 

In this case do I need to change context group to prod in all the jobs or can i just change in master job


Accepted Solutions
Forteen Stars

Re: Context group in master job

@Rajesh_Reddy,if you have checked transmit whole context,it will take the  Prod values while you running if you have specified from master.

Manohar B
Don't forget to give kudos/accept the solution when a replay is helpful.

View solution in original post


All Replies
Forteen Stars

Re: Context group in master job

@Rajesh_Reddy,if you have checked transmit whole context,it will take the  Prod values while you running if you have specified from master.

Manohar B
Don't forget to give kudos/accept the solution when a replay is helpful.

View solution in original post

Employee

Re: Context group in master job

Hi,

 

     If you have correctly mapped all the context variables in your child job from parent job and if you are passing the context values correctly from parent job to child context variables, the data will be reflected there.

 

    Just now, I ran a child job with only Dev context and called the job from a parent job with Prod context. The value from Prod context reached child job. But it is not the recommended practice. It might be easy for you now but it may become a nightmare during maintenance phase when different team members are handling this job.

 

     So the recommended way is to maintain the right context group for all the jobs so that it will not become a headache later.

 

     If the answer has helped you, could you please mark the topic as resolved? Kudos are also welcome :-)

 

Warm Regards,

 

Nikhil Thampi

2019 GARTNER 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

Best Practices for Using Context Variables with Talend – Part 1

Learn how to do cool things with Context Variables

Blog

Migrate Data from one Database to another with one Job using the Dynamic Schema

Find out how to migrate from one database to another using the Dynamic schema

Blog

Best Practices for Using Context Variables with Talend – Part 4

Pick up some tips and tricks with Context Variables

Blog