Learn how to build schedule-triggered flows in Salesforce to streamline routine tasks, manage data, and solve real-world use cases …
Here are highlights from article What Is a Schedule-Triggered Flow? – Salesforce Admins
1. Schedule-triggered flows:
– Runs in the background at a specified time and frequency to perform actions on a batch of records
– Saves time and minimizes manual data update risk
– Can be monitored and managed in Setup from the Scheduled Jobs page
– Runs independent of a record change
2. Difference between schedule-triggered flows and batch Apex:
– Batch Apex can handle more records and offers more capability than schedule-triggered flows
– Schedule-triggered flow can only query up to 50,000 records before hitting the governor limit
– Maximum number of schedule-triggered flow interviews per 24 hours is 250,000 or the number of user licenses multiplied by 200
– Maximum batch size for schedule-triggered flows is 200, whereas for batch Apex it’s 2,000
3. Example use cases solved with a schedule-triggered flow:
– Deactivating users who have not logged in for a certain number of days
– Sending custom notifications or reminders on a daily, weekly, or monthly basis
– Doing one-time bulk updates of records to update values or ensure data consistency
4. Considerations for choosing the right solution:
– Evaluate the data, number of records, and frequency of the scheduled process
– If the process needs to accommodate large volumes of data or requires more scheduling flexibility, schedule-triggered flows may not be the ideal solution
5. Getting started:
– Start building a new flow by selecting Schedule-Triggered Flow from the New Flow menu.
You can read it here: https://sfdc.blog/iCTLq
Source from admin(dot)salesforce(dot)com