Exclude Manager functionality
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-19-2019 12:57 AM
Greetings All,
Request you to kindly help me to understand how the Exclude Manager functionality is configured within the instance. My requirement is to mimic the functionality for a second custom reference field available on the group form. Thank you!
Regards,
Rana
- Labels:
-
Scripting and Coding
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-19-2019 03:06 AM
In what application / module is the Exclude Manager functionality? I am not familiar with it. Tell me where it is and i can help you research and understand it.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-19-2019 03:11 AM
Hi there,
Do you mean the Exclude Manager checkbox on the Groups form lay-out?
Basically, if checked, the manager filled in that group, will not receive notifications send to that group.
If my answer helped you in any way, please then mark it as helpful.
Kind regards,
Mark
---
Kind regards,
Mark Roethof
Independent ServiceNow Consultant
10x ServiceNow MVP
---
~444 Articles, Blogs, Videos, Podcasts, Share projects - Experiences from the field
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-19-2019 04:36 AM
Yes Mark, you are correct. When Exclude Manager field is checked, the manger of the assigned group will not receive the notification. However, I am interested to know how it is configured in the back end.
My requirement is, I need to create a second reference field on the group form which will be similar to the manager field and we would need the Exclude Manager functionality here as well.
Regards,
Rana
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-19-2019 05:19 AM
the issue is how to override or set the TO field on the notification so I did some digging.
I found the following link where Chuck Tomasi discusses email in general and overriding the TO field in particular:
https://community.servicenow.com/community?id=community_question&sys_id=3bc107a9db98dbc01dcaf3231f961915&view_source=searchResult
I see this code snippet: userList.push(mem.user.email.toString());
see if this helps and post the solution when you have it.