Step By Step Guide to Creating Schedule-Triggered Flow in Salesforce : Adwait Gogate

Step By Step Guide to Creating Schedule-Triggered Flow in Salesforce
by: Adwait Gogate
blow post content copied from  Ashish Agarwal – Independent Salesforce.com Architect & Blogger
click here to view original post


Schedule Triggered Flow in Salesforce

Introduced in Salesforce Winter ’20 release, Schedule-Triggered Flow in Salesforce is one of the many types of Flows that you can use to automate your business processes. You can set this Flow to run at a specific time at:

  • Once
  • Daily or
  • Weekly

With schedule-triggered Flows, you can potentially avoid using Apex Schedule Jobs using Batch Apex. Now you have the option of meeting repetitive business requirements without using the development capabilities of the platform. For example, sending birthday greetings every morning to customers who have their birthdays on that day, or closing Cases every night that are in a specific status after a certain number of days has passed.

To get started, configure the schedule trigger in the start element of your Flow, then select the object and conditions (if any) to fetch a certain batch of records to process. When using schedule-triggered Flow, it stores all of the record’s field values in the $Record global variable which you can reference to access the record’s field values.

Lastly, you have the ability to monitor scheduled Flows from the Scheduled Jobs page in Setup and to delete them if no longer required.

For this guide, we will be showing, at first, how to close Cases that are in ‘Waiting on Customer’ status for more than 7 days, then incorporate an email notification to Case Contact when the Case is closed. After going through this guide, within the next 30 – 45 minutes, you will learn how to: 

  • Create a Schedule-Triggered Flow to Close Cases
  • Save & Activate the Flow
  • Test the Flow
  • Create a Schedule-Triggered Flow to Close Cases & Send Email
  • Save & Activate the Flow


To download a PDF copy of the presentation above




check to receive weekly updates on more of such awesome guides





(You'll never be spammed on my watch. And that's a promise)

References & Useful URLs:

The post Step By Step Guide to Creating Schedule-Triggered Flow in Salesforce appeared first on Ashish Agarwal - Independent Salesforce.com Architect & Blogger.


April 02, 2021 at 03:30AM
Click here for more details...

=============================
The original post is available in Ashish Agarwal – Independent Salesforce.com Architect & Blogger by Adwait Gogate
this post has been published as it is through automation. Automation script brings all the top bloggers post under a single umbrella.
The purpose of this blog, Follow the top Salesforce bloggers and collect all blogs in a single place through automation.
============================

Salesforce