Skip to main content
Announcements
Have questions about Qlik Connect? Join us live on April 10th, at 11 AM ET: SIGN UP NOW
cancel
Showing results for 
Search instead for 
Did you mean: 
smiling_cheetah
Creator
Creator

(Sense QMC) App reload before previous reload ended

Hello everyone,

I'm trying to figure out how trigger to reload would work on an app already being reload, and would appreciate your help

Let's presume there is an app which reloads appr 5 minutes, and I go and create task to reload it every 2 minutes.

How it's gonna work?

Let's say first ever reload started at 00:00, what is going to happen at 00:02, when task is triggered to be executed, but the app is already being reloaded?

I tested it a bit and in practice it seems to work, at least in a simple app with "sleep for 5 min" in script (triggers don't break reload in progress), but I kinda want to understand how it works under the hood, so that I wont face any pitfalls in the real apps.

Thanks in advance

EDIT: looks like trigger is simply ignored when task already running

4 Replies
Chanty4u
MVP
MVP

Am not sure

but you can create a task event trigger for the same app , by that it will pick when 1st time its reloaded followed by second.

you can set the time as if you want.

smiling_cheetah
Creator
Creator
Author

Hi Chanty, thanks for advice!

But I'm not sure it's gonna work for me, because what I'm trying to accomplish is following:

Reload App X at 0:00 (might take more than 1 hour)

And then, starting from next round time (2:00, 3:00, etc) reload App X every one hour (reload takes about 3-5 mins).

I'm not sure if and how multiple triggers will work in one task (reload on task completion + reload hourly)

bwisealiahmad
Partner - Specialist
Partner - Specialist

Hi,

It might work, but I would def check if it affects data though. Never tried it to be honest.

Chanty4u
MVP
MVP

yes you can set hourly trigger only it will do automatically

if not

you need to create multiple tasks  for the same app.