Question on survey responses
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-20-2024 07:49 AM
Hi All,
I have created one low feedback survey notification, when user gives low feedback then this notification should be Triger and go to the survey manager, it is working fine but in that notification i have added one link button to show survey response, This link is showing an error, please see the error below snapshot.
Survey Responses are not visible from survey response link despite admin access.
For this link i have created email script.
Please see the below email script code:
(function runMailScript(current, template, email, email_action, event) {
template.print('<p><font size="3" color="#000000" face="Calibri (Body)">');
template.print('</font></p>');
template.print('<p><font face="Calibri (Body)">');
var id = current.getUniqueValue();
var type = current.getValue('metric_type');
var uri = gs.getProperty('glide.servlet.uri').toString();
var url = uri + 'assessment_take2.do?sysparm_assessable_sysid=' + id + '&sysparm_assessable_type=' + type + '&sysparm_reader_view=true';
template.print('<a style="font-size: 16px; font-family: Helvetica, Arial, sans-serif; color: #ffffff; text-decoration: none; border-radius: 3px; -webkit-border-radius: 3px; -moz-border-radius: 3px; background-color: #278efc; border: 1px solid #0368d4; display: inline-block; padding: 5px" + href= ' + url + '>Please review the survey response here </a>' );
template.print('</font></p>');
})(current, template, email, email_action, event);
Could you please anyone help me on this to get the proper solution.
Thanks
0 REPLIES 0