Thanks for the response but the start day(1st day) of month should not be saturday.
If 1st day of month is saturday then it should run on next saturday i.e on 8th.
Support for specifying both a day-of-week and a day-of-month value is not complete (you must currently use the â?â character in one of these fields).
You can overcome this with a few options
Define cron to run every 1st Saturday of the month, include logic in your workflow during init to gracefully end the job without processing if it is the 1st of the month.
Define cron to run every 1st Saturday of the month. Leverage Orchestratorâs Non-working Day Calendars to exclude Dates where 1st == Saturday. (Long term this requires more effort to setup the calendar, but you could forecast it out a few years / generate the calendar record programmatically
Define cron to run every day between the 2nd and 8th of the month, include logic in your workflow during init to gracefully end the job if it is not Saturday
As per @codemonkeeâs post you cannot add conditions/logic within a cron expression so you wonât be able to achieve this with a single cron expression.
You have a few options but the cleanest might be just to insert some logic into your code at âInitâ like the attached workflow. Main.xaml (16.5 KB).