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

Announcements
Join us in NYC Sept 4th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
Haresh
Contributor
Contributor

Scan the list of the files from tfilelist1 where currentdate-filedate>5 minutes

I want to pick the files that are not being written into the folder yet and to ensure that they are completely written onto the folder and then pick them up for processing,so the condition should in tjava should be like for every iteration for .csv files:

"currentdate-filedate>5 minutes"

currentdate=TalendDate.getCurrentDate();

what do i pass in for the filedate?

So to compare the difference if its more than 5 minutes?

Labels (5)
1 Reply
Anonymous
Not applicable

This is pretty easy to solve once you try out the below example....

 

0693p00000AZzqZAAT.pngConnect a tFileProperties component to your tFileList and configure the tFileProperties as below....

 

0693p00000AZzqjAAD.png 

This will give you the information you need