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

Announcements
Join us in Bucharest on Sept 18th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

tWaitForFile, global variable, processing many files

 Hi, I'm developing the flow attached on the bottom
 
tWaitForFile is in create, update or delete mode
I filter create and present events in tFilterRow
I set a global variable based on file name (file name contains content date)
in the copy task I use ((String)globalMap.get("tWaitForFile_1_FILENAME"))
in the HttpRequest I use the global contentDate variable
I wonder if ((String)globalMap.get("tWaitForFile_1_FILENAME")) or the global variable could be overriden by next file event while the processing of a current one is not finished yet fully, do you have any idea about this?
I tried to put the content date into row field using javaRow but I could not access this field in tCopyFile
0683p000009MBge.png
Labels (3)
2 Replies
Anonymous
Not applicable
Author

hi pawkor,
the componenet setglobalvar doesn't manage output flow I think.
so I guess i've got nothing in row8
Use degub run mode & use step by step to check.
regards
Anonymous
Not applicable
Author

hi, kzone,
tSetGlobalVar just passes input flow to output
my flow is working, I'm just not sure if I get any problems processing more files at once