Launch Screen Flows in Lightning Experience with a URL

Launch Screen Flows in Lightning Experience with a URL

There are several ways to launch a Screen Flow such as quick actions, URL buttons, or even hyperlink formula fields. But when you launch a flow from a URL button or hyperlink, Salesforce doesn't open it in the Lightning runtime. That can lead to a slower, less reliable experience, and some local actions won't run as expected. In the Spring '26 release, Salesforce addressed this by introducing a new standardized URL format to launch Screen Flows properly in Lightning Experience and Lightning console apps.

New URL Format to Launch Screen Flows in Lightning Experience

Salesforce introduced a new standardized URL format for opening Screen Flows in Lightning Experience and Lightning console apps. It brings several benefits: better performance, a smoother experience inside console apps (without bouncing users out), and more consistent behavior in the browser.

It also supports the Salesforce Cosmos theme and Flow local actions.

Before the Spring '26 release, to launch a screen flow via URL, you had to use the following URL format:

/flow/flowName?VariableName=Value

For example:

/flow/New_Case_Flow?AccountID={!Account.Id}

The new standardized URL format includes a few small changes. Here is the updated URL format for launching a flow in Lightning Experience:

/lightning/flow/YourFlowNameHere?flow__VariableName=Value

You can also run a specific version. Here is the URL format for that:

/lightning/flow/YourFlowNameHere/versionId?flow__VariableName=Value

Here is the new URL format to open the same screen flow in Lightning Experience:

/lightning/flow/New_Case_Flow?flow__AccountID={!Account.Id}
Launch Screen Flows in Lightning Experience with a URL

As you can see, the Account lookup field is populated via a URL parameter, and the flow UI matches the org's Cosmos theme. There's also a toast message, and the flow takes you to the new Case record. Both of these are local actions, which weren't supported in the old URL format.

Launch Screen Flow with a URL Button

Be the first to comment

Leave a Reply

Your email address will not be published.


*