How to Pause and Resume a Screen Flow in Salesforce

In this Salesforce tutorial, we will learn to Pause and Resume a Screen Flow in Salesforce.

In Salesforce flows, we have a Pause feature, specifically for the Screen flow. This helps in pausing a flow for a specific time duration, and with the Resume function, we can start the flow from where it was paused.

Pause and Resume Functionality in Salesforce flows

The Pause function helps us temporarily stop or pause a Screen flow. For example, we have a screen flow to create an Account record, and we don’t have details of some fields in that situation; we can pause the flow temporarily until we get the details.

The Resume function allows us to resume the paused flow from where it was paused.

How to Pause a Screen Flow in Salesforce

To add the Pause functionality to the Screen flow, follow the below steps.

1. To enable the Pause function in Salesforce flows, navigate to the Setup page and search, then select Process Automation Settings in the Quick Find box.

How to enable pause in Salesforce screen flow

2. In the Process Automation settings, activate the checkbox Let Users Pause Flows and click Save to apply the changes.

Setup and enable Pause in Salesforce Screen flows

3. Now, navigate to the Flows setup and open the screen flow.

4. If the flow is activated, Deactivate it in the flow builder. You must do that to make any changes in the flow.

5. Click on the Edit element button in the Screen element.

How to pause a Salesforce Screen flow

6. In the next window, click the Configure footer dropdown and select Use the Standard label in the Pause Button section.

We can also use a custom label, like “stop,” for the pause button. Select the radio button ‘Use a custom label‘ to do that.

At last, click Done to apply changes.

Pause functionality in Salesforce flows

7. Click on the Debug button in the flow builder.

8. Run the flow and enter the fields. Here, we will intentionally leave a couple of fields blank.

Now click on the Pause button.