Survey link on notification

B Ashok
Tera Guru

Hello Team,

 

I try to provide survey link on to the resolved notification (Both RITM and Incident), I have created below mail script but it's not working. 

could you please help.

 

var link = new AssessmentUtils().getAssessmentInstanceURL("current.sys_id");
var url = '<a href="' +link + '">' + 'Take me to the Survey' + '</a>';
template.print(url);
 

Thanks
Ashok 

 

 

 

 

2 REPLIES 2

ShubhamGarg
Kilo Sage

Hello @B Ashok ,

Can you follow below steps to include survey link along with your notification?

1) Navigate to Survey - View Surveys - Open survey you want to insert.

2) In Related Links - View Survey URL - copy the URL

3) Navigate to - System Notification - Email - Notification

4) Go to - What it will contain - Message HTML - Insert / Edit link icon - paste in URL - Ok - Save

Let me know if it works.

 

If my response helps you in any way, kindly mark this as Accepted Solution/Helpful and help in closing this thread.

Regards,

Shubham

B Ashok
Tera Guru

Hi @ShubhamGarg  but the survey users submits  should link to the incident and RITM which was fulfilled. 

Thanks