- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-09-2020 05:20 AM
my notification is on ritm table how can i fetch the approver name in it and display it
Solved! Go to Solution.
- Labels:
-
Personal Developer Instance

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-09-2020 05:24 AM
Hi,
Assuming your approval request is for RITM. you can write a simple mail script and call that in your notification, something like below
var gr = new GlideRecord("sysapproval_approver");
gr.addQuery("sysapproval",current.sys_id);
gr.query();
if(gr.next()) {
template.print(gr.approver.getDisplayValue());
}
and then in your notification, call it
${mail_script:your_script_name}
Kindly mark the comment as a correct answer and helpful if it helps to solve your problem.
Regards,
Asif
2020 ServiceNow Community MVP

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-09-2020 05:24 AM
Hi,
Assuming your approval request is for RITM. you can write a simple mail script and call that in your notification, something like below
var gr = new GlideRecord("sysapproval_approver");
gr.addQuery("sysapproval",current.sys_id);
gr.query();
if(gr.next()) {
template.print(gr.approver.getDisplayValue());
}
and then in your notification, call it
${mail_script:your_script_name}
Kindly mark the comment as a correct answer and helpful if it helps to solve your problem.
Regards,
Asif
2020 ServiceNow Community MVP