function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Olivier WienerOlivier Wiener 

Lightning flow link to modified/created record

Hi everyone,

I've created a relatively complex flow using the new flow builder. In a nutshell it updates contacts. The flow is embeded in a simple lightning page.

At the end of it, I want to provide a link to the updated contact and related account. So far, I put this in the last screen display text:
 
Thanks! <a href=“/{!Selected_Contact_Id}” TARGET="_blank">The contact {!Selected_Contact_Full_Name}</a> has been updated. 

<a href=“/{!Selected_Account_Id}” TARGET="_blank">Account  {!Selected_Account_Name} link</a>



In debug mode or when I run the flow from the lightning page, I'm getting this:

"Thanks! The contact John Dw has been updated. 

Account xxxx link"

The bold texts are links, but they lead to
https://playful-shark-j2hf89-dev-ed--c.eu16.visual.force.com/flow/runtime.apexp?flow__debug=true&flowVersionId=3011t0000009tlO&flowDevName=Create_new_contact&debugInputs=%5B%5D
https://playful-shark-j2hf89-dev-ed--c.eu16.visual.force.com/flow/runtime.apexp?flow__debug=true&flowVersionId=3011t0000009tlO&flowDevName=Create_new_contact&debugInputs=%5B%5D
(debug mode)

https://playful-shark-j2hf89-dev-ed.lightning.force.com/lightning/n/Contact_page (lightning page)

Any clues why it's not leading to the modified contact id and related account id ?