We've updated the ServiceNow Community Code of Conduct, adding guidelines around AI usage, professionalism, and content violations. Read more

Add link to record in Flow Designer email notification

Jonathan102
Tera Guru

Hi all,

I am recreating a workflow in Flow Designer.  I am trying to figure out how to add a link to an "send email" action like we did using ${URI} in the workflow.  Documentation says to do it through the Data pills but I am not sure how to do it or what field to use.

Thanks in advance!

6 REPLIES 6

Anirudh Pathak
Giga Sage

Muhammed Medni
Tera Guru

Hi @Jonathan102 

using field script you can add the line to worknotes/comments of the record 

 

var URL = '';
URL = "[code]<a href='";
URL += your url;
URL += "' target='_blank'>" + "link" + "</a>[/code]";

return URL ;

 

Please mark my response as Correct/Helpful based on Impact

Sumanth16
Mega Patron

Hi @Jonathan102 ,

 

Please refer to below thread:

 

https://developer.servicenow.com/connect.do#!/share/contents/6143266_flow_designer_link_generator?t=...

https://www.servicenow.com/community/now-platform-forum/how-to-embed-a-link-to-a-specific-record-in-...

 

If I could help you with your Query then, please hit the Thumb Icon and mark it as Correct !!

 

Thanks & Regards,

Sumanth Meda