Skip to main content
Announcements
Accelerate Your Success: Fuel your data and AI journey with the right services, delivered by our experts. Learn More
cancel
Showing results for 
Search instead for 
Did you mean: 
ali_hijazi
Partner - Master II
Partner - Master II

Task with Multiple Triggers

Hello I'm working on Qlik Sense
I have a task that I want it to be triggered by the successful execution of Task 2 or Task 3
so I added two triggers does this mean it is triggered by Trg2 OR Trg3?
or it means Trg2 AND Trg3?
kindly advise

I can walk on water when it freezes
Labels (1)
1 Solution

Accepted Solutions
RafaelBarrios
Partner - Specialist
Partner - Specialist

hi @ali_hijazi 
sorry, i think my image was not visble, but it is the same your are showing.

and YES, your task "3 againf_balance_dashboard" will trigger when "trg_ageing_schema" OR "trg_ageing_security update" finished

 

considere that the task will be executed according to what you have configured in each trigger (Successfull/failed)

RafaelBarrios_0-1670403795943.png

 

Hope this helps.

best,

help users find answers! Don't forget to mark a solution that worked for you & to smash the like button! 😁

 

 

View solution in original post

8 Replies
JHuis
Creator III
Creator III

It is and!

 

 

ali_hijazi
Partner - Master II
Partner - Master II
Author

how can I accomplish something as OR
I want the task to be triggered wither by Task1 or Task2

I can walk on water when it freezes
JHuis
Creator III
Creator III

Hello,

 

I think that your way to go is app that starts after one is ready. You could also bypass this by scripting. 

ali_hijazi
Partner - Master II
Partner - Master II
Author

then in this case I create 2 tasks for the same QVF file
1 task that is triggered on the successful execution of Task 3
another task that is triggered on the successful execution of Task 4

I can walk on water when it freezes
barnabyd
Partner - Creator III
Partner - Creator III

G'day @ali_hijazi,

What you really need is a Group Reload Task, which I submitted as an idea last year. Maybe if enough people 'like' it, then it will get the attention of the Qlik developers.

Since we don't have that feature, we have a few options:

1. just run all your tasks every time in sequence - this is mostly fine if the tasks are short

2. use the qlik_cli, which give you the ability to write your script outside the Qlik environment to control the reloads

3. combine the apps together into a single app so that you can use conditional statements to control the flow

4. design a semaphore system where the earlier tasks store a flag file and the following task(s) read those flag files and only perform the load if the desired conditions are met.

Just a few ideas. I hope this is helpful. It is frustrating that this feature is not available OOTB.

Cheers, Barnaby.

Barnaby Dunn
BI Consultant
RafaelBarrios
Partner - Specialist
Partner - Specialist

Hi @ali_hijazi 

if I understood correct, this is what you did

one task with two triggers 

E4A2E844-D6D5-4E1F-97C0-EFE812486167.jpeg

If that the case that is a big “OR”

best

help users find answers! Don't forget to mark a solution that worked for you & to smash the like button! 🙂

 

ali_hijazi
Partner - Master II
Partner - Master II
Author

Hello @RafaelBarrios 
I did the following:
and you confirm that this task will run on the successful execution of either:
trg_ageing_schema
OR
trg_ageing_security_update

 

TASK_MULTI_TEIGGER.PNG

I can walk on water when it freezes
RafaelBarrios
Partner - Specialist
Partner - Specialist

hi @ali_hijazi 
sorry, i think my image was not visble, but it is the same your are showing.

and YES, your task "3 againf_balance_dashboard" will trigger when "trg_ageing_schema" OR "trg_ageing_security update" finished

 

considere that the task will be executed according to what you have configured in each trigger (Successfull/failed)

RafaelBarrios_0-1670403795943.png

 

Hope this helps.

best,

help users find answers! Don't forget to mark a solution that worked for you & to smash the like button! 😁