Passing Variables in and out of Visual Workflow

I am creating a record using a visual workflow and would like to be able to open the object I created within the flow in edit mode when the user clicks on the finish button. I am using the flow:interview methods from a visualforce page.

<flow:interview name="Create_Project" finishLocation="{!URLFOR('/a0B/o}')}}"/>

I don’t seem to be able to pass an output variable to the URLFOR method.

In another example I have used the URL method to pass parameters to a flow but again I have the same problem that I cannot end up at the created object.

/flow/Create_Project?Account_Name_Input={!Account.Name}

Any help would be appreciated.

Answer

Found this; does it help? I’m not aware of any non-Apex way of doing this… yet!
https://developer.salesforce.com/forums/ForumsMain?id=906F000000097pVIAQ

Attribution
Source : Link , Question Author : user6784 , Answer Author : markross__c

Leave a Comment