Send email to new added user is Glide list filed

ESL
ServiceNow Employee
ServiceNow Employee

Hi 

I have some glide list field which can let the user read the incident ticket.
For example, Able Tuter, Abraham Lincoln, Adela Cervantsz are already in the  list, and  when I added Beth Anglin to the list, I want to send the notification to Beth ONLY not send to all user in the list. 

Is there any idea to do it? 

 

find_real_file.png

Thanks for help.

 

1 ACCEPTED SOLUTION

Voona Rohila
Kilo Patron
Kilo Patron

Hi Easley

You can get current and previous values of the watchlist users and get the recently added users.

how are you triggering the notification?

Logic: you can use user from below code to pass it in your eventQueue

find_real_file.png


Mark it helpful if this helps you to understand. Accept solution if this give you the answer you're looking for
Kind Regards,
Rohila V
2022-25 ServiceNow Community MVP

View solution in original post

7 REPLIES 7

@Easley 

Thank you for marking my response as helpful.

Did you mistakenly marked other response as correct?

I believe the overall point here was to help guide you towards finding the latest user.

The answer marked as correct has same approach mentioned but with an example.

Please mark appropriate response as correct based on timely response.

Regards
Ankur

Regards,
Ankur
✨ Certified Technical Architect  ||  ✨ 9x ServiceNow MVP  ||  ✨ ServiceNow Community Leader

Voona Rohila
Kilo Patron
Kilo Patron

Hi Easley

You can get current and previous values of the watchlist users and get the recently added users.

how are you triggering the notification?

Logic: you can use user from below code to pass it in your eventQueue

find_real_file.png


Mark it helpful if this helps you to understand. Accept solution if this give you the answer you're looking for
Kind Regards,
Rohila V
2022-25 ServiceNow Community MVP

ESL
ServiceNow Employee
ServiceNow Employee

I will add an UI action button to trigger the email notification.
Thank for your idea.
I will try this code, I am considering to use a business rule for check the difference and add the result to a hidden field. Eventqueue is also a good idea, I would like to try it.