How to get assignment group name in notification body in approval table notification
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-16-2024 05:31 AM
How to get assignment group name in notification body in approval table notification.
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-16-2024 05:58 AM
Hi @Pratiksha Lang1 ,
Make use of mail script to get the assignment group in notifciation.
${mail_script:mailScriptName}
var gr = new GlideRecord("sc_req_item");
gr.addQuery("sys_id", current.sysapproval);
gr.query();
if (gr.next()) {
template.print(gr.request.assignment_group.getDisplayValue());
}
☑️ Please mark responses as HELPFUL or ACCEPT SOLUTION to assist future users in finding the right solution....