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

Bijay Kumar Sha
Giga Guru

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 !

3 REPLIES 3

Pavankumar_1
Mega Patron

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);

If it helps please click Accept as Solution/hit the Thumb Icon.
ServiceNow Community MVP 2024.
Thanks,
Pavankumar

Hi @Pavankumar_1 ,

Can you please provide me exact BR for the same. I'm not getting what you've mentioned.