Skip to content

Instantly share code, notes, and snippets.

@thebrettbarlow
Created January 31, 2019 05:31
Show Gist options
  • Save thebrettbarlow/59c249313ac435555e0648f9c829cb52 to your computer and use it in GitHub Desktop.
Save thebrettbarlow/59c249313ac435555e0648f9c829cb52 to your computer and use it in GitHub Desktop.
<apex:page standardController="Brewery__c">
<flow:interview name="Refresh_Beer_Inventory"
finishLocation="/{!Brewery__c.Id}">
<!-- Brewery Id to be used by the flow -->
<apex:param name="v_BreweryId"
value="{!Brewery__c.Id}"/>
<!-- Beer Inventory Data to be used by the flow -->
<apex:param name="v_PaleAleCount_Old"
value="{!Brewery__c.Pale_Ales__c}"/>
<apex:param name="v_IPACount_Old"
value="{!Brewery__c.IPAs__c}"/>
<apex:param name="v_SourCount_Old"
value="{!Brewery__c.Sours__c}"/>
<apex:param name="v_PorterCount_Old"
value="{!Brewery__c.Porters__c}"/>
<apex:param name="v_StoutCount_Old"
value="{!Brewery__c.Stouts__c}"/>
</flow:interview>
</apex:page>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment