Last active
May 15, 2017 05:02
-
-
Save thebrettbarlow/c473f82e7ccc398b2a160924ad147379 to your computer and use it in GitHub Desktop.
Sample code to launch a flow from Visualforce
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<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