Group preventing email notifications/surveys from being sent out.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-21-2022 06:21 AM
Hello all,
New to the ServiceNow Platform and currently working on a ticket that a company requested to have a group created that would allow them to add and remove users freely to the group that would prevent those users from receiving any email notifications or surveys from being sent to them. I figured the easiest route would be to create the group and set a business rule under the sys_email table that has the When to Run filter condition "Type is Send-Ready" and Action set field values "Type to Send-Ignored". The roadblock that I have come upon is that I am unable to add a filter condition for the group under the When to Run filter condition as group is not a choice in the dropdown even after showing related fields. Is there another way to go about resolving this ticket?
Thanks,
Odaine Earle

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-22-2022 12:09 PM
Because you need to update a different table than the one your Business Rule is running on, you would need an advanced Business Rule with a script. The script would update the cmn_notif_message table and set the filter to 'Unsubscribe' for the user that was added to the group, for the email notification record you want to stop sending.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-29-2022 07:40 AM
I am not proficient at scripting so I am unsure what would be needed to achieve this. Could you share the script that you would use to accomplish this? Thank you.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-29-2022 10:34 AM
On the user record simply set the notification field to disabled.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-29-2022 01:12 PM
I am trying to build a group that can have this done. Is that possible? Or does it have to be done through each user only?