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

Announcements
Join us in Toronto Sept 9th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
COW_WW
Contributor
Contributor

Context group variables - set the value during runtime

Hello, 

I'd like to clarify how to use the context group variables right. 

Let's say I have 5 jobs that are using similar variables. For example each job has a logging process and the process has a variable named EtlLogId. This variable is set during the job runtime.

So, instead of defining the same EtlLogId context variable in each job I created the context group which includes empty EtlLogId variable. Then I add this context group to each job. 

If I trigger two jobs at the same time and each job is updating the EtlLogId variable with different value, can it mess up the EtlLogId value in other jobs or the EtlLogId variable is independent instance in each job?

I'm pretty sure that it is independent if defined as a context variable in the job level but not sure if it behaves the same if it's a context group variable.

Thanks

Labels (2)
1 Solution

Accepted Solutions
Anonymous
Not applicable

Hi

The context variable is independent instance in each job, the context group is easily for users to maintain the variable name, type and its default value. Users just need to define context variable one time in repository, import it into new job from repository whenever the same variable will be used.

 

Regards

Shong

View solution in original post

1 Reply
Anonymous
Not applicable

Hi

The context variable is independent instance in each job, the context group is easily for users to maintain the variable name, type and its default value. Users just need to define context variable one time in repository, import it into new job from repository whenever the same variable will be used.

 

Regards

Shong