Activity Forums Salesforce® Discussions How to pass parameter to the visual workflow in Salesforce?

  • Abhinav

    Member
    September 19, 2016 at 10:40 am

    Hi Debbie,

    You can pass variables using the standard HTTP URL parameters. So from the lead page you can have a link to launch a flow and pass the leadID as the following nax.salesforce.com/flow/myLeadFlow?vaLeadID={!ID}

    where vaLeadID is the unique name of the variable in flow.

    <apex:page>
    <flow:interview name="MyFlow">
    <apex:param name="var1" value="Value1"/>
    </flow:interview>
    </apex:page>

  • Debbie

    Member
    September 19, 2016 at 10:50 am

    @Abhinav

    Thanks.

Log In to reply.

Popular Salesforce Blogs

Popular Salesforce Videos