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

Announcements
Qlik Connect 2026! Turn data into bold moves, April 13 -15: Learn More!
cancel
Showing results for 
Search instead for 
Did you mean: 
_AnonymousUser
Specialist III
Specialist III

How to wait for an iteration to end?

Hi,
is there a possibility to finish an iteration (in my case: extract various files from a tFileList) and then continue with the rest of the flow? My problem is that the process continues after the first file has been extracted and then crashes because this is not the file I would like to handle first. I tried "iterate" (which can not work) and "on component ok".
Thank's for your help.
Labels (3)
6 Replies
Anonymous
Not applicable

I think you can specify all the name of your file in your tFileList
_AnonymousUser
Specialist III
Specialist III
Author

I think you can specify all the name of your file in your tFileList

my problem is that the file's names are unknown except of their endings, so I use another tFileList to search the extracted files for the one I want to continue with. This component crashes when the first extracted file does not match the component's filemask.
So I'm searching for a way to finish the iteration (extract all files named *.gz) and then start searching for the right file.


Added image.
0683p000009MC21.jpg
Anonymous
Not applicable

Died you try to connect "download files" with a "On subjob ok" with "get that filename"?
_AnonymousUser
Specialist III
Specialist III
Author

Died you try to connect "download files" with a "On subjob ok" with "get that filename"?

The download component works perfectly, the problem occurs between extract and get filename and there's no "on subjob ok" available for connecting these ones ;-(
Anonymous
Not applicable

Try to connect get_filenames with get_dat_filename using OnSubjobOk. Don't connect extract_files with get_dat_filename.
_AnonymousUser
Specialist III
Specialist III
Author

Try to connect get_filenames with get_dat_filename using OnSubjobOk. Don't connect extract_files with get_dat_filename.

This really seems to work! Never thought of using "OnSubjobOk" this way.
Thanks a lot for your help!