How to add hyperlink to Email Notification?

lakshmidurga
Tera Expert

I want to add hyperlink to Email Notification.

Your Incident INCxxxxxxxx has been registered.

If I click on INCxxxxxxxx it should redirect me to the Incident Page.

Please someone help me on this.

Thanks in advance.

1 ACCEPTED SOLUTION

Manik
ServiceNow Employee
ServiceNow Employee

HI Lakshmi,



We can use ${URI_REF} and hyperlink would be created for the display field of record which in this case would be Incident number.



THank's,


Manik



PS - Please mark as correct, helpful and like if it solves your problem



View solution in original post

7 REPLIES 7

Hi Paramveer,



Can you guide me on how to modify the script



Incident Number : <mail_script>//template.print('<a href="https://' + gs.getProperty('instance_name')   + '.service-now.com/nav_to.do?uri=incident.do?sys_id=' + current.sys_id + '"> ' + current.number+ ' </a>');

template.print(current.number);</mail_script>




Thanks in advance.


Hi Lakshmi,



Use below -



Incident Number: ${URI_REF}



Regards,


Swapnil


Thank you for your quick response!