Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi there,
I want to know if there are some context variables that are ignored by the "Transmit whole context" option, on the tRunJob component.
If there are, I'll probably have to fill the "Context Parameters" table with the values that I want to pass to the child Job.
My main concern is if DB connection parameters (username, password, host, port and database name) are ignored or if, indeed, they go from Parent to Child.
I've attached an image.
Can someone please shine some light on this subject for me?
I appreciate it.
Thank you,
Rui
Hi
The context variables should exist in both main job and child job if you want to use 'Transmit whole context' option, the value will be passed from main job to child job, and override the values in child job.
Regards
Shong
Hi
The context variables should exist in both main job and child job if you want to use 'Transmit whole context' option, the value will be passed from main job to child job, and override the values in child job.
Regards
Shong
Hi,
Thanks for the reply.
Is there any situation where the value won't pass from the parent Job to the child Job, even if both have the same context variable?
Rui
If that is the case, it is a bug. Maybe there is a design issue in your job? For testing, print the value of context variables in child job to see whether the values are passed correctly from main job.
Hi there,
I had already tested by printing the value of the context variable and it passes without a problem.
Thanks for the reply, @Shicong Hong . I appreciate it.
Rui
OK, so the issue has been fixed? If so, please select one of answers as the best one to mark the question as resolved. 😉
Done.
Thank you so much.