Hyperlink in Notification

Mahesh033
Tera Contributor

Hi All,

 

We have configured provider notification which is triggered in msteams.

notification is getting triggering ,but need help in adding Hyperlink in that notification ..

${mail_script:scriptName} is not working its coming as plain text and not as hyperlink

6 REPLIES 6

Amit Verma
Kilo Patron
Kilo Patron

Hi @Mahesh033 

 

I can see you are passing mail script as ${mail_script:scriptName}  as per your screenshot. Can you please replace scriptName with the actual Notification Email Script Name and retry ?

 

Also, ensure that the content type is HTML and Plain Text by going into advanced view as shown below :

AmitVerma_0-1708608157874.png

 

Moreover, in your email script, replace template.print() with

 

var surveyUrl = '<a href="' + gs.getProperty('glide.servlet.uri') + 'sp?id=take_survey&instance_id=' + survey.sys_id + '">Please take survey</a>';
template.print(surveyUrl);

 

 

Thanks & Regards

Amit Verma


Please mark this response as correct and helpful if it assisted you with your question.

Hi @Amit Verma 

Thanks for your response , we are using provider notification in which we don't have HTML content type .