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

Announcements
Note: You may notice some temporary visual or styling issues in the Community. Our vendor is actively investigating.
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Schedule QVW files in QMC

Hi experts,

I have requirement like

Having 2 files

a.QVW

b.QVW

I have to run a.QVW file, after loaded this file it got disabled and need to load b.QVW file. This should be run on everyday for 4 hours.

How to do it from QMC.

Regards,

Kumar

3 Replies
Chanty4u
MVP
MVP

u can create a triggers......i thnk am nt sure.

simospa
Partner - Specialist
Partner - Specialist

Hi,

you could do this:

1. create a vEnd variable at the start of the A script and set it as vEnd = 0

2. at the end of reload script of the A file SET vEnd=Today().

3. at the start of reloading of A document you can set a if condition:

IF $(vEnd) <> '0' THEN

insert here all your reload script

END IF

4. set the reload of A document in QMC every 4 hours.

5. set for B document in QMC a reload after A relaod (there is a specific trigger in QMC under Documents --> Reloads).


The A document will be reload every 4 hours, but after the first time the if statement will exclude the real script reloading and then the B reload can start automatically.


Let me know.

S.


alexandros17
Partner - Champion III
Partner - Champion III

Go in triggers tab of qmc then press in task dependencies section, here add the task a.Qvw, in this way only when task a. finishes the task b. will start ...

let me know