Skip to main content
Announcements
See what Drew Clarke has to say about the Qlik Talend Cloud launch! READ THE BLOG
cancel
Showing results for 
Search instead for 
Did you mean: 
rohitk1609
Master
Master

How to put AND condition between two triggers to Run a task?

Hi Techies,

I need to run a QMC task based on two dependent tasks which have AND condition between them.

Lets say I have two dependent tasks Task A and Task B. Task A runs only on Monday and Task B runs every day. My use case says Task C should run only on Monday right after Task B completes.

So I put two triggers in Task C as 

Task A Monday Trigger 

Task B Daily Trigger

 

rohitk1609_0-1615295959491.png

 

rohitk1609_1-1615295985675.png

 

 

what I am trying to on Monday when both dependent tasks run on Monday then Task C run otherwise Task C doesn't run.

 

Problem is every day TASK C is running. I have thought that on Monday when Both Task A and Task B run between 720 minutes then only Task C run.

 

Can anyone please help me to know what I am missing?

Thanks,

Rohit

 

 

Labels (1)
4 Replies
Anil_Babu_Samineni

What I do here for AND operator between tasks, Add another task here like

Anil_Babu_Samineni_1-1615320541146.png

 

 

Best Anil, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful
rohitk1609
Master
Master
Author

Adding two tasks inside one trigger works on AND condition ?

Anil_Babu_Samineni

Yes, and OR condition works each task from parent.

Best Anil, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful
rohitk1609
Master
Master
Author

Can you please explain this how OR condition works between two TASKS?