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

Announcements
Only at Qlik Connect! Guest keynote Jesse Cole shares his secrets for daring to be different. Learn More!
cancel
Showing results for 
Search instead for 
Did you mean: 
matthewdeveloper
Contributor
Contributor

Store result of flowToIterate to use after all iterations are finished

So basically I have the following flow:

0695b00000LzUnsAAF.png 

tFileFetch_1 is downloading a file and tFileFetch_2 is uploading it. tFileFetch_2 returns the id of the uploaded file and I need to store all the ids somewhere and then build a JSON to use it on tRESTClient_7 (after all the iterations are finished which is already happening, I just need to store the return of tFileFetch_2 somewhere). How can I do that?

Any help would be very appreciated.

Labels (5)
2 Replies
Anonymous
Not applicable

Hi

Take a look at tHashOutput component, this component caches the data into memory. Check the 'append' box to append all ids, whenever you need to read the data from memory, use a tHashInput component in next subjob.

 

Regards

Shong

matthewdeveloper
Contributor
Contributor
Author

Hi @Shicong Hong​ thanks for your reply,

 

I did as you suggested, now I have the following:

 

0695b00000Lzb8IAAR.png 

I added tJava_7 in order to transform the InputStream into a String, but the tHashOutput_1 is only storing the current value of the iteration, its not "appending" all ids.

 

0695b00000Lzb8cAAB.pngAny suggestions? Thank you very much.