How to send emails to the groups that contains multiple CIs instead of individual emails per CI

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-20-2024 12:37 AM
In change request, we've impacted CIs. In each CI that contains approval group as a reference field. Ideally, email approval notification is getting triggered to corresponding approval group of for each CIs listed in the impacted ci list of a CR.
So, let's say there are 5 CIs listed in the impacted CI and there are 3 approval groups which are common in those 5 CIs. Hence, currently there are 5 email notifications are getting generated which is per CI basis. Hence, those common 3 approval groups are getting emails multiple times for the same CR for different CIs.
Current Configuration -
When to Send - 'Event is Fired'
What I'm looking for -
1 Email should be triggered to the Approval group (if it finds same approval groups present in multiple CIs) and in the body of the email it should list all those impacted CIs.
By this sending email count will be reduced.
How and where I can configure this? Please Help !
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-20-2024 08:54 PM
Hi, I think you could populate recipients and message body via a notification email script sourcing details from the 'current' record.
Another option would be custom sysevents triggered by a BR.
You can then populate CI details into 1 parameter field and recipients (from CI relationships) into the other parameter
and the consume the sysevents with a notification - but if you wanted it to look pretty you would probably need a notification email script to populate the message body from your CI values.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-21-2024 05:41 AM
https://www.servicenow.com/community/itsm-forum/1-email-notification-to-be-sent-to-approval-group-us...
https://www.servicenow.com/community/virtual-agent-forum/how-to-send-emails-to-the-groups-that-conta...
https://www.servicenow.com/community/developer-forum/how-to-send-emails-to-the-groups-that-contains-...
https://www.servicenow.com/community/developer-forum/get-unique-approval-group-name-of-impacted-cis-...
Please mark any helpful or correct solutions as such. That helps others find their solutions.
Mark