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-11-2024 10:06 PM
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.
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-11-2024 10:31 PM
Hi @Bijay Kumar Sha ,
for example you have 5cis those are impacted will this occurs at the same time.
If these are occurs at the same time then trigger a event from the business rule get all the corresponding groups and use gs.eventQueue(String name, Object glideRecord, String parm1, String parm2, String queue);
ServiceNow Community MVP 2024.
Thanks,
Pavankumar

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-11-2024 10:55 PM
Hi @Pavankumar_1 ,
Can you please provide me exact BR for the same. I'm not getting what you've mentioned.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-21-2024 05:42 AM
Just respond to the people that have already tried to help you.
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