Notifications

49 views

Description

When a user submits survey via Email New Assessment Instance is created rather than updating exisintg Assessment instance

Resolution

This issue is occuring because the associated notification has a mail script defined which is creating a new Survey instance rather than updating the existing survey instance when submitting a Survey via Email.


We suggest referencing the logic implemented in OOB (Assessment: Survey User Invite) notification below which queries the correct survey instance for the Requestor:
/nav_to.do?uri=sysevent_email_action.do?sys_id=634a4ae0d7011100828320300e6103c9


var link = new AssessmentUtils().getAssessmentInstanceURL(current.sys_id);
var url = '' + link + '';
template.print(url);

Article Information

Last Updated:2019-09-14 13:38:10
Published:2019-09-14