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

Announcements
Join us in Toronto Sept 9th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
BouwerVa
Contributor II
Contributor II

QlikSense File Detection

Hi

I'm sure I have read a document on this but can't seem to find the document now.

We run a decentralized system and every night the backup's are sent from the branches to Head Office. Currently we have a scheduled Qlik Generator running in the early mornings , extracting the data from the backups. But sometime the backup only come in the next morning.

I want to know if I can trigger the Qlik Generator to run when a new backup has been pasted or saved in a certain folder. In other words I want the Generator to extract the Data as the backup finish downloading. *File Detection Trigger*

 

 

Labels (1)
1 Solution

Accepted Solutions
fosuzuki
Partner - Specialist III
Partner - Specialist III

The Task Trigger options are time-based or chained to another task event. Hence you cannot create a trigger based on a "File Detector".

One alternative is to schedule the task to run in small intervals, like each 10 minutes (the lowest frequency as possible, to avoid an overhead on the server), and inside the script you can use something like:

If FileTime('[file path]') > ReloadTime() then

    [do the load stuff] 

end if

View solution in original post

2 Replies
fosuzuki
Partner - Specialist III
Partner - Specialist III

The Task Trigger options are time-based or chained to another task event. Hence you cannot create a trigger based on a "File Detector".

One alternative is to schedule the task to run in small intervals, like each 10 minutes (the lowest frequency as possible, to avoid an overhead on the server), and inside the script you can use something like:

If FileTime('[file path]') > ReloadTime() then

    [do the load stuff] 

end if

BouwerVa
Contributor II
Contributor II
Author

Thank You