Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Can a context group stored in repository, contain a global variable as its default value?
I'm trying to set up a ParentJobName variable, that is either the jobName or it gets set by passing a context parameter.
No. Code will be read as a literal by the way context variable. But you do not need to do this for this requirement. Configure your child job to have a context variable called ParentJob. Then in the tRunJob, set the value of this context variable to be jobName.
jobName is a public String variable that is set in every job. What you would be doing is sending this value to the chiild job's ParentJob context variable.