Qlik Community

New to Qlik Sense

Discussion board where members can get started with Qlik Sense.

smiling_cheetah
New Contributor III

(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

Tags (2)
4 Replies
sureshqv
Esteemed Contributor III

Re: (Sense QMC) App reload before previous reload ended

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
New Contributor III

Re: (Sense QMC) App reload before previous reload ended

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
Valued Contributor

Re: (Sense QMC) App reload before previous reload ended

Hi,

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

sureshqv
Esteemed Contributor III

Re: (Sense QMC) App reload before previous reload ended

yes you can set hourly trigger only it will do automatically

if not

you need to create multiple tasks  for the same app.