Schedule-triggered flows are used to automate repetitive tasks/complex business processes that occurs in a specified regular interval. This is a type of auto launched flow that runs in the background at a specified time and frequency.
Whenever we are creating a schedule-triggered flow, the first and the important step is to ‘Set a Schedule‘, and sometime it becomes bit confusing how to set schedule for a flow.
Frequency – Determines how often the scheduled flow repeats (Once, Daily and Weekly)
Start Date – Determines the commencement date of the flow (mostly this is in future)
Start Time – Determined the time of the day the flow will run
Frequency | Description |
---|---|
Once | Flow runs only once on the specified start date and start time. If the start date/ start time are already passed, the flow doesn’t run. |
Daily | Flow runs every day at the given Start Time starting from Start Date, where Start Time field value is based on the Salesforce org’s default time zone. If Start Date is Jul 4, 2023 and Start Time 12:30 AM. Then scheduled flow runs for the first time in July 4, 2023 12:30 AM and the next scheduled run will be at July 5, 2023 12:30 AM |
Weekly | Flow runs once in a week at the specified time starting from the start date. If Start Date is Jul 4, 2023 and Start Time 12:30 AM. Then scheduled flow runs for the first time in July 4, 2023 12:30 AM and the next scheduled run will be at July 11, 2023 12:30 AM |
Monitoring a Schedule-triggered flow
Schedule-triggered flows can be monitored Setup –> Environments –> Jobs –> Scheduled Jobs (look for type = Scheduled Flow)
This page gives the details of the schedule-triggered flow like submitted by, submitted date, started and next scheduled run.
References
https://help.salesforce.com/s/articleView?id=sf.flow_considerations_trigger_schedule.htm&type=5