Redirect URL is not working as expected when Enable Lightning Runtime for Flows is selected
Last updated 2022-02-10 ·Reference W-3769280 ·Reported By 0 users
Summary
Redirect URL is not working as expected when Enable Lightning Runtime for Flows is selected
Repro
1. Create a flow with two input text fields.
2. Create two variables from Resources, one for Input (AccountID) and output variable for ContactId
3. Drag a Record Create Element on the canvas.
4. Map the Assignments for input and output values on the Record Create Element and save the flow & activate the flow.
5. Create a button with following URL : {!$Site.BaseUrl}/flow/sample?vAccountId={!Account.Id}&retURL=/{!Account.Id} and add this button to the Account Page layout.
7. From any account record, once you click this custom button it will launch the flow where you can fill the details and once you click on Next it will be redirected to the Account Record Detail page
8. Now enable the "Enable Lightning Runtime for Flows" from Process Automation Settings from setup.
9. Now repeat the Step:7 and you will see the page is not redirecting the Account Detail page in lightning experience
Workaround
Currently this retURL for the Flow works only in Classic.
Reported By (0)
Is it Fixed?
Any unreleased services, features, statuses, or dates referenced in this or other public statements are not currently available and may not be delivered on time or at all. Customers who purchase our services should make their purchase decisions based upon features that are currently available.