What Does This Post Cover?
- How to use the Pause Element in Salesforce Flows
Use Case?
- Ever wanted to kick off a flow but then pause it for a specific period of time? Awesome, that's what this is all about.
In this example:
We will be taking the pause element and stopping (pausing) our flow for 24 hours before we make another update. Our made up business use case is the following: Finance has asked that we wait 24 hours between when we get a new account and when we activate that account. This will allow the finance team to manage their queue and SLAs accordingly.
Since we have a video on this showing you step by step, this blog post will be primarily used to view the values we used in the video as a reference to rebuild.
#1 Account Process Builder
Node: "Active Is Changed?"
a. [Account].Active__c ISCHANGED = True
b. [Account].Actibe__c = True
Immediate Actions: "Update Lead Description"
Flow: "Pause Flow"
Flow Variables:
a. RecordId FIELD REFERENCE = [Account].Id
#2 Pause Flow
a. Update Records: "Update Account"
b. Pause: "Wait to Activate Account"
c. Update Records: "Update Account Status"
#3 Video Walkthrough
Check out the FULL video walkthrough to get more context here in the youtube video below 🎬🍿
Comments