Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi everyone,
I have a subjob that uses a set of context groups. During the developement phase of this subjob I loaded manually the context groups that I needed. But now I have set up a parent job that will run the subjob multiple times automatically. While executing the parentjob, it seems that the contexts that I loaded manually are not loaded.
How can I make it so that some context groups are loaded at the beggining of the execution of the subjob?
You don't need to define the schema of tRunJob (ControlDateTest), you have already defined the context variables in child job, so you are able to select the context variables from the Context Param table in the basic setting panel of tRunJob.
To use a context variable, the expression is:
context.varName
eg:
System.out.println("the value of context variable is: "+context.varName);
Okay, So the problem was how I was calling the variable in the childjob. Thank you so much