- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-22-2024 12:26 AM
Hi,
I have a requirement to send an email notification to all assignment group's users of the child incidents when the parent incident is closed.
I created a Business rule on the incident table that trigger when state changes to close. then I go and check if this incident has child incidents with assignment group field is not empty. If yes, I know that I need to use the command:
gs.eventQueue();
what should I pass inside () ?
In addition, when creating the notifcation do I need to populate something in the 'Who will receive' Tab or not because I will specify the it inside the gs.queue?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-22-2024 02:06 AM - edited 07-22-2024 02:08 AM
Hello @Alon Grod ,
gs.eventQueue() takes five parameter and one of them is optional.
gs.eventQueue('event_name','glide_record_object',parm1,parm2, 'queue_name');
//#5 is optional
If you already know to whom you want to send notification then, you can directly pass the mail_id of that group in #parm1 and set the receiver as EVENT PARM 1 or you can select the group in the who will receive it tab as follows -
If my answer solves your issue, please mark it as Accepted✔️ and Helpful👍!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-22-2024 02:06 AM - edited 07-22-2024 02:08 AM
Hello @Alon Grod ,
gs.eventQueue() takes five parameter and one of them is optional.
gs.eventQueue('event_name','glide_record_object',parm1,parm2, 'queue_name');
//#5 is optional
If you already know to whom you want to send notification then, you can directly pass the mail_id of that group in #parm1 and set the receiver as EVENT PARM 1 or you can select the group in the who will receive it tab as follows -
If my answer solves your issue, please mark it as Accepted✔️ and Helpful👍!