You need to sign in to do that
Don't have an account?

VF Page for Flow Finish Location
I have created a VF Page to set the Finish Location for my Flow. However, when I attempt to use the button, I am receiving an error - URL No Longer Exists. Any ideas?
<apex:page id="theTransferPage" standardcontroller="SCMC__Sales_Order__c">
<apex:variable var="theReplacementTransfer" value="{!SCMC__Sales_Order__c.Id}"></apex:variable>
<div style="float: left; width: 600px; padding: 10px;">
<flow:interview name="ReplacementTransferRequest" finishLocation="{!URLFOR('/'+theReplacementTransfer)}" >
<apex:param name="varSalesOrderID" value="{!SCMC__Sales_Order__c.Id}"/>
<apex:param name="varOwnershipID" value="{!SCMC__Sales_Order__c.SCMC__Ownership__c}"/>
<apex:param name="varComments" value="{!SCMC__Sales_Order__c.SCMC__Sales_Representative_Instructions__c}"/>
</flow:interview>
</div>
</apex:page>
<apex:page id="theTransferPage" standardcontroller="SCMC__Sales_Order__c">
<apex:variable var="theReplacementTransfer" value="{!SCMC__Sales_Order__c.Id}"></apex:variable>
<div style="float: left; width: 600px; padding: 10px;">
<flow:interview name="ReplacementTransferRequest" finishLocation="{!URLFOR('/'+theReplacementTransfer)}" >
<apex:param name="varSalesOrderID" value="{!SCMC__Sales_Order__c.Id}"/>
<apex:param name="varOwnershipID" value="{!SCMC__Sales_Order__c.SCMC__Ownership__c}"/>
<apex:param name="varComments" value="{!SCMC__Sales_Order__c.SCMC__Sales_Representative_Instructions__c}"/>
</flow:interview>
</div>
</apex:page>
Hi Erica,
use this
{!URLFOR('/apex/theReplacementTransfer')}
ls the security for the VF page set to allow the profiles trying to access it?