---
schema_version: "1"
id: 79034fdadcd7cc3b08d3912d3b49f8787b2a254f1edee7f02e45f504573ed4a4
title: Control Whether Users Can Pause a Flow from a Visualforce Page
collection: developer
version: current
locale: en-us
portal_url: https://docs.salesforce.com/developer/current/en-us/platform/salesforce-pages-developers-guide/guides/pages/flows/pages-flows-pause.md
canonical_url: https://developer.salesforce.com/docs/platform/salesforce-pages-developers-guide/guide/pages-flows-pause.html
source_site: developer.salesforce.com
content_type: documentation
content_hash: 413528a03f26080887557d852a025b980154e708b3b839f8fcf2e704f45acafb
products:
  - Visualforce Developer Guide
  - Platform Developer Content
---

# Control Whether Users Can Pause a Flow from a Visualforce Page

After you embed a flow in a Visualforce page with the `<flow:interview>` component, consider whether you want to let users pause flows from that page. Set the `allowShowPause` attribute to false to prevent users from pausing.

Whether the **Pause** button appears depends on three settings.

-   Your org’s Process Automation settings must have `Let users pause flows` enabled.
-   For this `<flow:interview>`, `allowShowPause` must not be false. The default value is true.
-   Each screen must be configured to show the **Pause** button.


## Example

In a Visualforce page, you’ve embedded a flow that includes three screens. Screen 1 is configured to show the **Pause** button. Screens 2 and 3 are configured to not show the **Pause** button.

|Let Users Pause Flows(Process Automation setting)|`allowShowPause`(Visualforce component)|Result Pause button|
|-------------------------------------------------|---------------------------------------|-------------------|
|Enabled|`true` or not set|Pause button appears only on the first screen|
|Enabled|`false`|Pause button doesn’t appear for any screens in this Visualforce page|
|Not enabled|`true` or not set|Pause button doesn’t appear for any screens|

This example embeds the MyUniqueFlow flow in a Visualforce page and doesn’t allow the **Pause** button to appear.

```visualforce
<apex:page>   
   <flow:interview name="MyUniqueFlow" allowShowPause="false" />
</apex:page>
```

