Adding the URL reference on Approval Notification

Sundar akula
Tera Contributor

Hello Everyone,

 

I need some suggestions as to how I can add the URL Reference on the Approval Notifications. I tried adding ${URI_REF} but this is not working as expected.  I need to add the reference URL Link of the Change Record where the approver can redirected to approve the Record which is pending from his/her end. I have attached the Flow I have created.

Picture 1.pngPicture 2.png

1 ACCEPTED SOLUTION

Ankur Bawiskar
Tera Patron
Tera Patron

@Sundar akula 

URI_REF won't work in flow

I created blog for this, check that and enhance as per your requirement

ServiceNow Flow Designer: Adding Record Link in "Send Email" flow action

sharing again here

  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-1746087040377.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_1-1746087040381.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_2-1746087040384.png

     

     

Output:

1) Flow Variable

AnkurBawiskar_3-1746087040388.png

 

2) Email link

AnkurBawiskar_4-1746087040369.png

 

 

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

View solution in original post

3 REPLIES 3

Ankur Bawiskar
Tera Patron
Tera Patron

@Sundar akula 

URI_REF won't work in flow

I created blog for this, check that and enhance as per your requirement

ServiceNow Flow Designer: Adding Record Link in "Send Email" flow action

sharing again here

  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-1746087040377.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_1-1746087040381.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_2-1746087040384.png

     

     

Output:

1) Flow Variable

AnkurBawiskar_3-1746087040388.png

 

2) Email link

AnkurBawiskar_4-1746087040369.png

 

 

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

@Sundar akula 

Hope you are doing good.

Did my reply answer your question?

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

Chaitanya ILCR
Kilo Patron

Hi @Sundar akula ,

You can refer my similar post

https://www.servicenow.com/community/developer-forum/add-ritm-hyperlink-in-send-email-action/m-p/321...

 

Please mark my answer as helpful/correct if it resolves your query.

Regards,
Chaitanya