Set a hyperlink in notification

ChunjiJ
Tera Contributor

I created a notification and specified the HR task for the table. I want to include a hyperlink directly to the task in the Message HTML. How do I set up this hyperlink?

2 REPLIES 2

Ankur Bawiskar
Tera Patron
Tera Patron

@ChunjiJ 

use this directly ${URI} OR ${URI_REF} in email body

URI vs URI_REF vs getLink() 

Email links using ${URI} and ${URI_REF} 

Difference between those 2 approaches

${URI_REF} - display value of the record as link text.

${URI} -   Link text come as 'Link'

💡 If my response helped, please mark it as correct and close the thread 🔒— this helps future readers find the solution faster! 🙏

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

PrashantLearnIT
Giga Sage

Hi @ChunjiJ 

 

You can use ${URI_REF} in your body if you want to include a hyperlink directly to the task in the Message HTML, as in your case, this is the best possibility for fulfilling your requirement.

********************************************************************************************************
Please appreciate the efforts of community contributors by marking the appropriate response as the correct answer and helpful. This may help other community users to follow the correct solution in the future.

********************************************************************************************************
Cheers,
Prashant Kumar
ServiceNow Technical Architect


Community Profile LinkedIn YouTube Medium TopMate
********************************************************************************************************