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: 
Anonymous
Not applicable

dynamically pass context parameters to a joblet

Hi
I want to change the contexts in my parent job dynamically according to the filters for a file. I am doing it via tJava. Now I want to pass these context parameters to the joblet dynamically. Can you tell how to do so?
thanks,
Nitin
Labels (3)
2 Replies
Anonymous
Not applicable
Author

Hello Nitin
on the father job:
.....tJava---onComponentOk---tFixedFlowInput---jobjet_1
on tJava: change dynamically the value of context parameters
on tFixedFlowInput: define some columns and set the values with context parameters
on the job jet:
Input_1---row1-->tJavaRow
on tJavaRow: Using the input flow from father job, you could aslo define some context parameters in job jet and set new value to context parameter, eg;
context.nameInJobJet=row1.name
Best regards
shong
Anonymous
Not applicable
Author

Thanks Shong!