Skip to main content
Announcements
Introducing Qlik Answers: A plug-and-play, Generative AI powered RAG solution. READ ALL ABOUT IT!
cancel
Showing results for 
Search instead for 
Did you mean: 
vidya821
Creator
Creator

pass same context varaible with different values in parallel subjobs

Hi All,

 

Can we pass same context varaible with different values in parallel subjobs.

will they be overwritten ?

E.g

parent job --->subjob1 (context a = 1)

                 ---> subjob2 (context a = 2)

 

will this work and the subjobs would be able to get values 1 and 2 repectively when executed in parallel?

 

Thanks

 

Labels (2)
1 Solution

Accepted Solutions
manodwhb
Champion II
Champion II

@vidya821 ,check the below example. i have passed different values for each sub.

 

0683p000009M4MZ.png.

 

View solution in original post

4 Replies
manodwhb
Champion II
Champion II

@vidya821 ,yes you can hard code the context value for each sub job. 

manodwhb
Champion II
Champion II

@vidya821 ,check the below example. i have passed different values for each sub.

 

0683p000009M4MZ.png.

 

Anonymous
Not applicable

@manodwhb is correct, but I think we need to be sure about the requirement. A Subjob is a section within a job, @manodwhb's solution refers to the use of Child Jobs. I suspect that it answers your question, I just want to clarify this as the same thing would not necessarily work for two subjobs running in parallel.

vidya821
Creator
Creator
Author

Thanks Rhall,
I was referring to two child jobs in this scenario.The solution shared by @manodwhb is what i am looking for.
Thanks for pointing out the difference though..:-)