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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Refresh value context in other job

I have a loop in job1 that will execute job2 while a boolean context does not change value in job2. This boolean context will only be modified in job2, how do I loop the job1 to recognize the context value that will be updated in job2? Could you give me an example of how to do this?

Labels (2)
1 Solution

Accepted Solutions
Anonymous
Not applicable
Author

Hi,

 

Can you elaborate you problem statement. Sorry,I Couldn't understand it properly.

You have to iterate a job based on a boolean variable?

 

Thanks,

 Jay

View solution in original post

3 Replies
Anonymous
Not applicable
Author

Hi,

 

Can you elaborate you problem statement. Sorry,I Couldn't understand it properly.

You have to iterate a job based on a boolean variable?

 

Thanks,

 Jay

Anonymous
Not applicable
Author

You can't directly update a context variable from child to parent. In order to do so, you will need to use a tBufferOutput component in your child job. This is used to pass a data row out of your child job. The idea would be to send your boolean value out of the child job in this row and use it to set your parent job's context variable. This will then stop the loop in the parent job.

 

Take a look here for documentation on the tBufferOutput

Anonymous
Not applicable
Author

Hi Felipe

 

I send an example 

 

Kind regards,

 

 

Alfonso Borré


Job1_1.PNG
Job1_3.PNG
Job1_5.PNG
Job2_2.PNG
Routines.PNG