Ankur Bawiskar
Tera Patron
Tera Patron

In ServiceNow's Flow Designer, there are often scenarios where you need to include a link to a specific record within an email. However, when using the Send Email flow action, this isn't directly possible. Here’s a simple yet effective workaround to achieve this:

Workaround Steps:

  1. Create a Flow Variable: Start by creating a new flow variable of type String. This variable will hold the URL of the record you want to link to.
     

     

    AnkurBawiskar_0-1743773334394.png
  2. Set Flow Variables: Use the Set Flow Variables flow logic to populate the string variable with the desired URL. You can construct the URL using the record's sys_id or other identifiers.AnkurBawiskar_4-1743768612254.png

     

  3. Include in Email Body: Finally, incorporate the flow variable into the body of your email. This will allow recipients to click directly on the link and access the relevant record.
     
     
    AnkurBawiskar_7-1743768641333.png

     

Output:

1) Flow Variable

AnkurBawiskar_2-1743773398722.png

2) Email link

AnkurBawiskar_3-1743773398674.png

 

 

 

 

Comments
AnjalPDijo
Tera Contributor

Thanks

AanchalS
Tera Contributor

AanchalS_0-1752398110935.png

i  have done the same thing but its redirecting to a new record not my ritm

 

pkk683664258927
Tera Explorer

I am also seeing the newly created record when clicked on link. Any idea why this is happening?

Version history
Last update:
‎04-04-2025 06:33 AM
Updated by:
Contributors