Display an info message whenever a member is added to a group manually
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-19-2025 03:59 AM
I've a requirement to a identify a particular user account whenever added to a group it should prevent the addition and throw a message. However I'm able to prevent the addition but info message is the tricky part here and I've tried client script and before BR its not happening. Would be great if receive some help here. Thank you
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-19-2025 04:10 AM
before insert business rule will be on sys_user_grmember , which will have that info message
please share your BR configuration and script
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
‎02-19-2025 07:48 AM - edited ‎02-19-2025 07:53 AM
Hi @Prabhu9
Make glide.ui.schedule_slushbucket_save_for_group_roles property as false on sys_properties form and then try again.
When this property is true, job runs in the background to add or remove users hence preventing to run the BR.
Please refer How to adjust granting of roles and groups for detailed description.
Regards,
Sourabh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-19-2025 07:57 AM
Create Before Business Rule and in the Actions tab click on check Add message and in the text area add the desired text.
See the screenshot for the reference.
Mark this response as helpful if it resolved your doubt.
Thank you,
Mahesh.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-19-2025 09:25 PM
Hello @Prabhu9
1. Make glide.ui.schedule_slushbucket_save_for_group_roles property as false on sys_properties form.
2. Create a before-insert Business rule on Group Member table, see below code:
If this helped, please marked it as Helpful
Thank You!
Thank You!