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

Announcements
Join us in Bucharest on Sept 18th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

[resolved] Changing context variable values for the same job

Hi,
I have a set of jobs that uses a single context variable. This context variable is defined in the 'Contexts' in the Repository tree and is inturn used by every job.
This context variable takes in the values of 0 or 1. As of now I have set it to 1.
I want to run the job as a .sh file and pass 0 or 1 to the context variable. How can I accomplish this? My idea was to use the jobs to the work of both '1' and '0' without having to recreate the jobs separately.
Also, I want the jobs to run with context variable = 1 at a specified time and the jobs to run with context variable = 0 at Another specified time
Note : I am using TOS
Any thoughts on this would be greatly appreciated
Thanks
Rathi
Labels (2)
12 Replies
Anonymous
Not applicable
Author

Hi ,
Please find below the job screenshot, I have linked one job to another.
0683p000009ME8R.pngRegards
Rathi
Anonymous
Not applicable
Author

Exactly.
Each of these is an instance tRunJob.
Click on one and then look at the Component tab.
You will see that it is an instance of tRunJob.
You will also see the checkbox that says "Transmit whole context".
Anonymous
Not applicable
Author

Got that !! Thank you tal00000..
Regards
Rathi