Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save thebrettbarlow/316c40225f6f560037d335d6517dad6d to your computer and use it in GitHub Desktop.
Save thebrettbarlow/316c40225f6f560037d335d6517dad6d 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