email notification is only sent out to the group manager
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-02-2024 04:01 AM
Hello, i have a group with a manager and 4 other users. When an email notification is set up to send email to this group, its only the manager that gets it. What may cause this?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-02-2024 04:13 AM
Hi @asd22
You can try this
https://www.servicenow.com/community/developer-forum/notification-to-be-triggered-to-group-s-manager...
"If you found my answer helpful, please give it a like and mark it as the accepted solution. It helps others find the solution more easily and supports the community!"
Thanks & Regards,
Barath.P
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-02-2024 04:14 AM
Hi @asd22 ,
I tried your problem in my PDI and it works for me please check below code
var gr = new GlideRecord('sys_user_group');
gr.addQuery('sys_id', '8a4dde73c6112278017a6a4baf547aa7');;
gr.query();
if(gr.next()){
gs.eventQueue('event.name',gr,gr.name,gr.manager.email);
}
In parm1 I passed group name and in parm2 I passed manager name
You have to create one notification which triggers when the event is fired
In Who will recive section you have to check Event parm 2 contains recipient to true
Please mark my answer correct and helpful if this works for you
Thanks and Regards
Sarthak
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-02-2024 04:16 AM
Does the group has the 'include members' checkbox ticked?
Please mark any helpful or correct solutions as such. That helps others find their solutions.
Mark