Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
See why IDC MarketScape names Qlik a 2025 Leader! Read more
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Can a context group stored in repository, contain a global variable as its default value?

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.


Labels (2)
1 Reply
Anonymous
Not applicable
Author

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.