Sign up to take part
Registered users can ask their own questions, contribute to discussions, and be part of the Community!
Registered users can ask their own questions, contribute to discussions, and be part of the Community!
Hello,
I would like to execute a scenario according to a custom trigger: after a scenario of another project and if it is Monday.
What is the best way to do this?
Hi @lau_sch,
From my understanding, you want the scenario to run after running another scenario, but only if it's currently Monday, correct?
You could accomplish this by using a custom Python trigger that checks for both of your conditions, but I think it would be easier if you used the following strategy instead:
datePart(now(), "dayofweek") == 1โ
This will cause the step to run only if the current weekday is Monday (for more information, see Formula language | Date functions).
Preview:
Thanks,
Zach