- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-08-2024 11:46 PM
I have a glide list/multireference field and I need to Trigger email notification using event for only the new user selected from the Glide list Type field. For example: their are A,B users selected in the field and then C is selected and saved so need to trigger email notification for C only. Please help by break down the steps and logic to compare the old value and new value to figure out the new user and pass in event queue.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-08-2024 11:52 PM
you need to have after update BR and check which is the new one
get the previous values and latest ones and find the difference and then use only that user in eventQueue as recipient
You can use ArrayUtil OOB class
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
01-08-2024 11:52 PM
you need to have after update BR and check which is the new one
get the previous values and latest ones and find the difference and then use only that user in eventQueue as recipient
You can use ArrayUtil OOB class
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