How to send notification out when a sys_user_group "ABC" gets a new member or when a member leaves
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-08-2024 07:52 AM - edited 01-08-2024 07:53 AM
I have a requirement that I'd like to build out in Flow Designer or any way that makes sense (an event for example). When a new or existing user is added to group "ABC" it will send a notification out, and when an existing user is removed from group "ABC" it will send a different notification.
Can anyone help?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-08-2024 09:35 AM
yes, notification has condition ( and script code with current object ) but there is no action parameter similar to BR, so keep the logic separate from notification and use the BR. You can write after delete BR with applied condition on group ABC and trigger he event for notification.
Please mark this response as correct and helpful if it helps you can mark more that one reply as accepted solution
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-08-2024 09:54 AM
Hi @Nathan Okh
Only way get the previous count and compare with current count.
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.
Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/atul_grover_lng [ Connect for 1-1 Session]
****************************************************************************************************************
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-08-2024 08:08 AM - edited 01-08-2024 08:09 AM
Hi @Nathan Okh,
Write an after update BR and check the record if current record exist in the table. If exist [added] then trigger an event and event will evoke the notification and if record doesn't [remove] exist then trigger other one event for notification.
-Thanks,
AshishKMishra
Please mark this response as correct and helpful if it helps you can mark more that one reply as accepted solution
