---
schema_version: "1"
id: 6a759aca398d12648681e831a9dfda6477803afef480bf35687e2d02b571c01f
title: flow:interview
collection: developer
version: current
locale: en-us
portal_url: https://docs.salesforce.com/developer/current/en-us/platform/salesforce-pages-developers-guide/guides/pages/components/pages-compref-flow-interview.md
canonical_url: https://developer.salesforce.com/docs/platform/salesforce-pages-developers-guide/guide/pages-compref-flow-interview.html
source_site: developer.salesforce.com
content_type: documentation
content_hash: ee85ae99f9d63cbac69785e36050394834c43e46309b2bf29d5ff0e3455b5ba9
products:
  - Visualforce Developer Guide
  - Platform Developer Content
---

# flow:interview

This component embeds a Flow interview in the page.

## Example

```apex

<!-- Page: -->
<apex:page controller="exampleCon">
<!-- embed a simple flow -->
	<flow:interview name="my_flow" interview="{!my_interview}"></flow:interview>
	<!-- get a variable from the embedded flow using my_interview.my_variable -->
	<apex:outputText value="here is my_variable : {!my_interview.my_variable}"/>
</apex:page>

/*** Controller ***/
public class exampleCon {
    Flow.Interview.my_flow my_interview {get; set;}
}
```

## Attributes

|Attribute Name|Attribute Type|Description|Required?|API Version|Access|
|--------------|--------------|-----------|---------|-----------|------|
|`allowShowPause`|Boolean|A Boolean value that allows the flow to display the Pause button. The Pause button appears on a flow screen only if this attribute is set to true for the \<flow:interview> component, the 'Let Users Pause Flows' setting is enabled for your organization, and the currently displayed screen has been configured to show the Pause button.| |33.0||
|`buttonLocation`|String|The area of the page block where the navigation buttons should be rendered. Possible values include 'top', 'bottom', or 'both'. If not specified, this value defaults to 'both'.| |21.0||
|`buttonStyle`|String|Optional style applied to the command buttons. Can only be used for in-line styling, not for CSS classes.| |21.0||
|`finishLocation`|ApexPages.PageReference|A PageReference that can be used to determine where the flow navigates when it finishes.| |21.0||
|`id`|String|An identifier that allows the component to be referenced by other components in the page.| |14.0|global|
|`interview`|Flow.Interview|An object that can be used to represent the FlowInterview.| |21.0||
|`name`|String|The unique name of the flow.|Yes|21.0||
|`pausedInterviewId`|String|Id of a paused interview to resume.| |33.0||
|`rendered`|Boolean|A Boolean value that specifies whether the component is rendered on the page. If not specified, this value defaults to true.| |14.0|global|
|`rerender`|Object|The ID of one or more components that are redrawn when the result of the action method returns to the client. This value can be a single ID, a comma-separated list of IDs, or a merge field expression for a list or collection of IDs.| |21.0||
|`showHelp`|Boolean|Should the help link be displayed.| |21.0||

**See Also**  


-   [An Advanced Example of Using \<flow:interview\>](https://developer.salesforce.com/docs/platform/salesforce-pages-developers-guide/flows/pages-flows-advanced.md)

