Skip to content

Instantly share code, notes, and snippets.

@thebrettbarlow
Last active May 15, 2017 05:02
Show Gist options
  • Save thebrettbarlow/c473f82e7ccc398b2a160924ad147379 to your computer and use it in GitHub Desktop.
Save thebrettbarlow/c473f82e7ccc398b2a160924ad147379 to your computer and use it in GitHub Desktop.
Sample code to launch a flow from Visualforce
<apex:page standardController="ObjectName">
<flow:interview name="FlowName"
finishLocation="/{!ObjectName.Id}">
<!-- This is an example apex:param that would pass the a value from this record to the Flow -->
<apex:param name="varName" value="{!ObjectName.FieldName}"/>
</flow:interview>
</apex:page>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment