Activity Forums Salesforce® Discussions How to redirect Salesforce flow after completion, if end URL is known in advance?

  • Suyash

    Member
    April 30, 2016 at 3:02 pm

    Hi Abhinav,

    Please go through this link:

    Ques 123  will solve your query:
    http://www.jitendrazaa.com/blog/salesforce/salesforce-flow-interview-questions-for-admins-part-23

  • PRANAV

    Member
    January 19, 2018 at 9:21 am

    Hi Abhinav,

    There are two approach :

    First by using “retURL” parameter in URL of flow
    //instance.salesforce.com/flow/flowName?retURL=page_name

    and second,  if flow is used in Visualforce page then

    <apex:page>
    <flow:interview name="MyUniqueFlow" finishLocation="{!$Page.MyUniquePage}"/>
    </apex:page>

    or
    <apex:page>
    <flow:interview name="MyUniqueFlow" finishLocation="{!URLFOR('/home/home.jsp')}"/>
    </apex:page>

    Hope this helps you.

Log In to reply.

Popular Salesforce Blogs

Popular Salesforce Videos