Need help with survey link in an email notification

kamal11
Giga Expert

HI All,

I am trying to send a survey link in an email notification,

But the link is actually displaying a URL, Which is not a hyperlink,

We have to copy and paste the whole link to get to the survey page.

Following is the screenshot

find_real_file.png

Following is the HTML and Body that i am using in the survey notification

<a href =${event.parm2}>Survey</a>

Is there a way where in we can make the suvey link in hyperlink.

Thanks,

Kamal

1 ACCEPTED SOLUTION

Steven G_
Tera Expert

Hi Kamal11,



We use a mail script to give a "friendly" hyperlink in our notifications. This is the code below:



mail script.png


View solution in original post

5 REPLIES 5

Michael Ritchie
ServiceNow Employee
ServiceNow Employee

You may want to look at out of the box examples as there are a few.   Navigate to System Notifications\Email\Notifications and search for "Incident Survey" as an example.


Steven G_
Tera Expert

Hi Kamal11,



We use a mail script to give a "friendly" hyperlink in our notifications. This is the code below:



mail script.png


HI Steven,



Thanks for the response,



What Link should i keep on the Link part in the second line



Do i have to use survey link which has instance name or any other link?



Thanks,


Kamal


Hi Kamal,



if you copy the code word for word it will work for you also. On your notification you simply call back the mail script and it will add the link for you