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

Announcements
Discover how organizations are unlocking new revenue streams: Watch here
cancel
Showing results for 
Search instead for 
Did you mean: 
_AnonymousUser
Specialist III
Specialist III

[resolved] How to use Flowtoiterate

Hi,
I would like to know How can use either FLowtoiterate or any other component to output different files for different records.
(I am using oracleinput and a query to get the data and then parse out the message and putting the parsed data into excel file)
How can I output different files for different records ?.
Thanks,
Milind
Labels (2)
1 Solution

Accepted Solutions
Anonymous
Not applicable

Hello Milind
Here is an example of showing how to use tFlowToIterate component and output each record to different file.
Input file:
1;shong
2;elise
3;mhirt

Best regards

shong

View solution in original post

6 Replies
Anonymous
Not applicable

Hello Milind
Here is an example of showing how to use tFlowToIterate component and output each record to different file.
Input file:
1;shong
2;elise
3;mhirt

Best regards

shong
Anonymous
Not applicable

Thanks a lot for such a quick and detailed response !
Milind
_AnonymousUser
Specialist III
Specialist III
Author

Hi, when following the example here, I receive an exception:
- "The method globalMap(string) is undefined for the type iterate_test" where iterate_test is my job name.
Any thoughts?
Anonymous
Not applicable

Registered an account now. I forgot to mention, working on Java and coming from SybaseDb.
Anonymous
Not applicable

My bad. I forgot the .get()
Anonymous
Not applicable

Hello!
Thanks for the procedure. If you replace the tFileOutputDelimited by a tFileOutputMSXML, it doesn't work: only one file is created because globalMap.get("row1.<my column name>") returns null, so all the elements are in the same XML file.
globalMap.get("row1.<my column name>") is a checked expression because it works with tAdvancedFileOutputXML and tFileOutputDelimited .
Seems to be a bug isn't it?
Regards