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

Announcements
Qlik Connect 2026 Agenda Now Available: Explore Sessions
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Add json output to context variable

Hi,

 

I have a job as below:

 

tfileinputdelimited-->tExtractJsonField-->tmap-->tWriteJsonField-->tfileOutputdelimited

 

 

Now, Instead of passing the processed json output( generated at tWriteJsonField ) into a file, I want to pass it into a context variable so that I can pass the value in tRest component. Is it possible? If yes, How do I achieve this?

 

Thanks in advance.

Labels (4)
2 Replies
TRF
Champion II
Champion II

Connect a tSetGlobalVar to tWriteJSONField to get the desired values in global variables.

Anonymous
Not applicable
Author

Will the variable hold the data in json format or just the values? if you don't mind, can you show any example where the data from tWriteJsonField component is passed into a variable?




Thank you