- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
a month ago
Hi,
We have a list Field which has multiple users.
we need to trigger an event to send notification to all the users in that field, when i send that field as param2 in the event it is sending only to first user in the list, any suggestions on how we can send it to all the users in that field.
Thankyou
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
a month ago
it should work fine as there are lot of OOTB email notifications which uses watch list i.e. list type of field in recipient and it does work fine there.
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
a month ago
can you share your code? you can use JSON.stringify to transfer the List field to string and pass it to param2.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
a month ago
You can use code in below post to achieve this,
Thanks,
Bhuvan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
a month ago
Hi @Saisree Kota
Please share the pic of your config where you are triggering the event.
Regards,
Siva
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
a month ago
Hi @Saisree Kota ,
You can also achieve this using Flow Designer. Use Trigger condition as Record updated or any.
Query the list field values present then, use a For Each loop on the list of users. Inside the loop, add the Send Notification action with each individual user as recipient..
Try this once and let me know. If you find this helpful, please accept this as a solution and hit the helpful button..
Kaushal Kumar Jha - ServiceNow Consultant - Lets connect on Linkedin: https://www.linkedin.com/in/kaushalkrjha/