Skip to content

Instantly share code, notes, and snippets.

@thebrettbarlow
Last active January 31, 2019 05:27
Show Gist options
  • Save thebrettbarlow/68340a7e7d506528802a5cb14c019a47 to your computer and use it in GitHub Desktop.
Save thebrettbarlow/68340a7e7d506528802a5cb14c019a47 to your computer and use it in GitHub Desktop.
<apex:page standardController="Contact">
<!-- When the flow finishes, the user will end up back on
this Contact's page. This is determined by the finishLocation -->
<flow:interview name="Contact_Update"
finishLocation="/{!Contact.Id}">
<!-- The first apex:param is setting the v_ContactId variable
in my flow to the id of the Contact -->
<!-- You can set as many of these as you want simply by listing
them out list this -->
<apex:param name="v_ContactId" value="{!Contact.Id}"/>
<apex:param name="v_ContactFirstName" value="{!Contact.FirstName}"/>
</flow:interview>
</apex:page>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment