External link in Notification

chr_kluge
ServiceNow Employee
ServiceNow Employee

Hi everyone

 

I want to add a link to an external wiki page in some notifications. Because I need it in different languages and only in some cases I thought: hey lets use an notification email script.

It's not working. It produces everytime an link to the instane: http://<instance-name>.service-now.com

 

I'm not sure if it's an bug or some error in my script. Some suggestions?

externalLinkEmalScript.JPG

 

Thank you

Christina

1 ACCEPTED SOLUTION

Kalaiarasan Pus
Giga Sage

something you have misplaced in the quotes and double quotes .. link to instance comes only if the url is setup incorrectly .. this should help



var attachLink = "<a href='http://wikipedia.de'> Link </a>";


template.print(attachLink);


View solution in original post

5 REPLIES 5

Hi Kalai



Thank you very much!



Enjoy your weekend


Christina