How to set up a trigger that launches every other/alternate week?
Advanced scheduling of the triggers in Orchestrator can be handled via CRON expressions. More information elaborated below:
However, there is not any direct CRON expression that is available for a biweekly schedule (skipping one week in between).
Below is a possible workaround for this situation:
- Create an asset in Orchestrator for initial run with a value to 1.
- Update your workflow and put one Get Asset activity in the very beginning of the workflow.
- Check its value if it is 1, then please proceed to the further execution, and at the end of the execution set the asset value to 0.
- If the value of the asset is 0, then set the asset value to 1 and come out of the execution.
- Create a weekly schedule for every Tuesday and it will work as expected.
This is just one possible workaround for the aforementioned use-case. Different logics can be designed as well, based on the requirement and feasibility.