Skip to main content

I want to end a screen flow without it briefly popping up the starting flow screen again.

 

I know about the retURL method, but...

 

...I am calling this flow from a Lightning quick action button.  When I create the button by choosing New Action, then Action Type=Flow, I only get to choose the flow I created.  There is no field that lets me control the retURL or otherwise terminate the flow without it restarting at the first screen again.

 

What is the best practice here?  Should I not be using an Action that calls a Flow?

@Salesforce.org System Administrators

2 answers
  1. Michael Brown (Salesforce) Forum Ambassador
    Sep 1, 2023, 2:31 PM

    Hi John, I would try using the Navigate Anywhere unofficialSF component. RetURL isn't supported in the QuickAction, but this component lets you redirect where the flow goes when it ends, and is a really slick little tool: https://unofficialsf.com/navigate-everywhere-flow-action/

0/9000