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

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Splitting a flow of JSON file into several JSON files

Hello,

 

I have a flow of data (JSON files) that are like :

File_1 = a_1; b_1; c_1

....

File_n = a_n; b_n; c_n

 

I want to create (if does not exist before) and update the file to have my data ordered in JSON  like the following:

A = a_1; a_2 .... a_n

B = b_1; b_2 ... b_n

 

EDIT:

 

So far I made this:

0683p000009M7NS.png

 

My problem is that tFileInputJSON_3 is loaded at the beginning of the job whereas I would like it to reload at the same time than tJavaFlex_1. Because it's supposed to be a dynamic lookup, loading at the beginning retrieves "null".

 

Wouldn't say no to some help here 

 

Thx! 

Labels (3)
1 Reply
Anonymous
Not applicable
Author

Update: I've tried to link the tFlowToIterate to the tJavaFlex with a "On component OK", but then I can't iterate with the tJavaFlex. Any suggestions?