How to get assignment group name in notification body in approval table notification

Pratiksha Lang1
Kilo Sage

How to get assignment group name in notification body in approval table notification.

1 REPLY 1

Sohail Khilji
Kilo Patron
Kilo Patron

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....

LinkedIn - Lets Connect