Remove group manager from only incident notifications.

as00929632
Tera Contributor

I do want to send emails to the group manager whenever incident is assigned to a assignment group.

 

By Marking "exclude_manager" field to true in group table removed manager's email from all notifications, however, I only want to remove manager email from incident related notifications.

1 ACCEPTED SOLUTION

Ankur Bawiskar
Tera Patron
Tera Patron

@as00929632 

you cannot do it for specific notification using that checkbox

It's either all or none.

If you want it to be handled differently for incident and only want to remove for incident then you will have to use eventQueue() based approach for your incident emails and get the group members exclude manager and push those into event parm1

Ensure the email is now triggered based on event and Event parm1 contains Recipient and don't include the Assignment Group field in the Users/Groups Fields

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

View solution in original post

1 REPLY 1

Ankur Bawiskar
Tera Patron
Tera Patron

@as00929632 

you cannot do it for specific notification using that checkbox

It's either all or none.

If you want it to be handled differently for incident and only want to remove for incident then you will have to use eventQueue() based approach for your incident emails and get the group members exclude manager and push those into event parm1

Ensure the email is now triggered based on event and Event parm1 contains Recipient and don't include the Assignment Group field in the Users/Groups Fields

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader