Interested in a ServiceNow event built for developers? Registration for now[dev]26 is officially open!

How to add link of ticket number in the "send email" action in flow designer

HarikrishH
Tera Contributor

Hi, 

How can I add a link to the ticket number in the 'Send Email' action in Flow Designer?

HariS1_1-1743766886528.png

 

 

HariS1_0-1743766803799.png

 

1 ACCEPTED SOLUTION

@HarikrishH 

update as this and it should work

 

AnkurBawiskar_0-1743773171424.png

 

AnkurBawiskar_1-1743773249938.png

AnkurBawiskar_2-1743773294661.png

 

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

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

View solution in original post

4 REPLIES 4

Ankur Bawiskar
Tera Patron

@HarikrishH 

check this link and response from Amit and it will work

I want to insert a hyperlink in the Send Email action of Flow Designer. 

AnkurBawiskar_0-1743767586471.png

 

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

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

Ankur Bawiskar
Tera Patron

@HarikrishH 

Another way

1) create a flow variable of type string

2) then use "Set Flow Variables" flow logic and set the string as URL

AnkurBawiskar_1-1743767695403.png

 

3) then use that in email body

AnkurBawiskar_2-1743767759385.png

 

Output: Link included

include link in send email action flow variable.gif

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

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

Hi @Ankur Bawiskar ,

When I clicks on the ticket number in the emails body then I can see in the URL that it is not adding the sys_id of the record. 

HariS1_1-1743772572807.png

 

 

HariS1_0-1743772480170.png

 

@HarikrishH 

update as this and it should work

 

AnkurBawiskar_0-1743773171424.png

 

AnkurBawiskar_1-1743773249938.png

AnkurBawiskar_2-1743773294661.png

 

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

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