- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-01-2024 12:19 AM
Hello,
I am looking for a solution to configure a notification in a way that an email is sent to the group mailbox instead of all members of approval group.
how this can be done?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-01-2024 03:50 AM
In that case, you have to trigger the notification with the help of 'event'.
The event will be triggered by business rule on the sysapproval_approver table and GlideRecord to approval table as get the email address of group and then you will pass the group email in parm1 OR parm2 and then in the notification 'who will receive' check the checkbox for the same.
gs.eventQueue('<replace_event_name>', <pass_the_group_email>);
Mark this as Helpful / Accept the Solution if this helps
Mark this as Helpful / Accept the Solution if this helps.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-01-2024 03:32 AM
Indeed it is selected already.
My question is, if I have this notification configured for 'Approver' table and if there is approval group that eg. consists of 5 members it means after request submission ( request will be created and therefore 5 notifications will be triggered for the record. So the question is, what would be a solution to send this notification only to the group email instead of alll the members?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-01-2024 03:50 AM
In that case, you have to trigger the notification with the help of 'event'.
The event will be triggered by business rule on the sysapproval_approver table and GlideRecord to approval table as get the email address of group and then you will pass the group email in parm1 OR parm2 and then in the notification 'who will receive' check the checkbox for the same.
gs.eventQueue('<replace_event_name>', <pass_the_group_email>);
Mark this as Helpful / Accept the Solution if this helps
Mark this as Helpful / Accept the Solution if this helps.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-02-2024 12:09 AM
Is it OOB solution that approval notifications are sent to each member of the approval group?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-02-2024 12:27 AM
@dev_K , The OOB approach will be to simple make the 'include member' false from the group.
The other approaches are either you have to hard code the email address and send, which is not a good practice.
Second is the way that I suggested using 'event' and the manager's email will be dynamically passed to parm1 or parm2.
Mark this as Helpful / Accept the Solution if this helps.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-02-2024 04:17 AM
But the scenario is there is a group approval. Request is approved when one of the group members approves it. And there is a group email added in the group details. So basically what I want is to send email to this group email address instead of each member... That is why solution with the manager's email will not work...