I want to trigger the process on 7th of every month, if 7th day of the month is non working days, how to trigger the BOT on next working days?
Define the Cron Expression: To schedule the BOT to run on the 7th day of every month, the cron expression will be
0 0 0 7 * ? * . This expression means the trigger will fire at midnight (0:00) on the 7th day of every month, regardless of the day of the week.
Hi @pradeep.surendar ,
Welcome to forum,
You can check
Create two separate triggers in UiPath Orchestrator:
- Trigger 1: Set up a trigger with a cron expression to run on the 7th day of every month. Use
0 0 7 * * ?as the cron expression. This trigger will ensure that the BOT is attempted to be run on the 7th of every month.
- Trigger 2: Set up another trigger with a cron expression to run on weekdays (Monday to Friday). Use
0 0 ? * MON-FRI *as the cron expression. This trigger will ensure that the BOT is only attempted to be run on weekdays (i.e., working days).
Hope it helps!!