Is the way to email users a link to the attestation they need to complete.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-19-2024 07:52 AM
We are doing control testing and need users to complete assigned attestations. The email that goes out when the attestations are assigned does not include the attestation record number. Also, without spending more money on licensing these control owners cannot access “my attestations” in ServiceNow. The attestations do not show up under “my tasks” either.
So how can we email a link to the control owners to take an attestation for a particular control.
We are on Vancouver.
Thank you,
Roger
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-11-2024 08:40 AM
hey @Roger Grim ,
You can update your email notification with a mail script to include a deep link so users can simply click on the link and be taken to the attestation in the system.
Please refer to the below documentation of how to configure record links in notifications
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-12-2024 04:50 AM
Hi @Roger Grim ,
Create Email Notification on Control table and in when to send section select updated and add the condition like state changes to Attest and Attestation is not empty.
Write email script to get the Attestation Record link.
Please check the below screenshots and script written in email script.
(function runMailScript( /* GlideRecord */ current, /* TemplatePrinter */ template,
/* Optional EmailOutbound */
email, /* Optional GlideRecord */ email_action,
/* Optional GlideRecord */
event) {
// Add your code here
var grAttest = new GlideRecord('asmt_assessment_instance');
grAttest.addQuery('sn_grc_item', current.sys_id);
grAttest.query();
if (grAttest.next()) {
gs.info("Attestation Number is " + grAttest.number);
template.print("Attestation Number is " + grAttest.number+'<br/><br/>');
template.print("Please Click on below Number to perform Attestation.<br/><br/>");
template.print('<a href="https://' + gs.getProperty('instance_name') + '.service-now.com/nav_to.do?uri=asmt_assessment_instance.do?sys_id=' +grAttest.sys_id+ '">' +grAttest.number+ '</a>');
}
})(current, template, email, email_action, event);
Please mark my answer as correct and helpful if it helps to resolve your issue.
Regards,
Namrata