Send Notifications to users in a list collector field
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-24-2022 10:23 PM
Hi All,
I want to send notification to users in list collector field. I have a custom table with one list collector field reference to user table. I want to send notification to all users in this field, but the notification is on different table so I cannot directly access the list collector field in notification users or groups field.
How can I send notification to all users in list collector field with business rule or email script?
Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-24-2022 10:34 PM
Hi,
you can use gs.eventQueue() and include the recipients from the business rule
Ensure you create event and link that event with the email you want to trigger.
What script did you start with? what's the link between those 2 tables?
regards
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-24-2022 11:07 PM
Hi
How can I now send notification to all users in the above variable.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-24-2022 11:13 PM
Hi,
why to use email script to send email notification?
email script is used to show data in email
Did you check my above comment to use gs.eventQueue()
regards
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-31-2022 06:41 AM
Thank you for marking my response as helpful.
If my response helped please mark it correct and close the thread so that it benefits future readers.
Regards
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader