Skip to main content

I have a lightning screen flow that is attached via URL to a detail button.

 

The flow works as expected up until the final screen + final action components.

The final screen componenet is simply displays a success or error message in display text. After this screen component in the flow, I have a "navigateToRecord" core action (pictured below) that I expect to take the user back to the record page with the button that started the flow. Clicking next on the final screen component instead gives me the "unhandled fault" error though as if the flow interview is starting over. Any help getting this to operate as expected? Thanks in advance!

 

Lightning Flow: NavigateToRecord component not working as expected

1 answer
  1. Mar 25, 2021, 6:27 PM
    Hi Brett-:

     

    https://unofficialsf.com/navigate-everywhere-flow-action/

     

     Please note that-:

     

    NOTE Local actions that fire force or lightning events might not work properly when you run the flow from:

     

    Flow Builder

     

    Flow detail pages or list views

     

    Web tabs

     

    Custom buttons and links

     

    Instead, test and distribute the flow with a Lightning page, Experience Builder page, flow action, or utility bar. Your developer can also add the appropriate event handlers directly to the component.

     

    https://help.salesforce.com/articleView?id=sf.flow_concepts_finish_override.htm&type=5

     

    https://developer.salesforce.com/forums/?id=9062I000000XjxMQAS
0/9000