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

Make a Custom Finish Location for a Flow; Finish at start location.
HI,
I would like to find out how I could make a flow end at a custom location, more specifically make it end at the place where it was started/clicked, which is a VF page within a button on a record detail page.
Here is the VF page that I've created, I only need it to end at the Contact Id page where it was clicked (the flow already has a variable with the Contact Id called ContactID.
All help is much appreciatted!
<apex:page standardController="Account" tabStyle="Account"> <flow:interview name="Flow_Testing" finishLocation="{!URLFOR('/003/o')}"> <apex:param name="AccountID" value="{!account.Id}"/> <apex:param name="UserID" value="{!$User.Id}"/> </flow:interview> </apex:page>
hi all, i thought i might update this with a response since it has not been answered.
Since you mentioned a standardController, that means you can pass the record's ID in the finishlocation value like such:
I did that for my own flows.
Cheers,
Arnaud
All Answers
I'm hoping someone can chime in as I'm looking to do something nearly identical. I have my flow built out but when finished it goes back to the home tab and instead I want the user to be directed to the account the flow originated from.
I have the situation, only my VF page with embedded flow is launched via a custom button at the Opportunity level. I want to end my flow back at the opportunity I started the flow from. I'm using the standard Opportunity controller.
Is there a way to link back to the record of origin?
hi all, i thought i might update this with a response since it has not been answered.
Since you mentioned a standardController, that means you can pass the record's ID in the finishlocation value like such:
I did that for my own flows.
Cheers,
Arnaud
Hi Arnaud,
It seems to do the trick! However I tried the same thing 2 months ago and it didn't work work as I had the same idea then :s. Thanks for posting the answer as this will make a lot of flows a lot easier to manage, this is much appreciatted!.
Kind Regards,
D.