- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-18-2022 05:47 AM
How would I limit a UI action to a certain group?
We have a group in ServiceNow and want UI action tabs should be visible for these groups members only and below condition already in placed. Now want to add one more condition for limit the access to one group only.
please help me on it. (both condition should be work)
current.subcategory=='mailbox_update'
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-19-2022 07:47 AM
Hii Abhishek,
I have a suggestion, no need to add the condition just create a new role and assigned the to that groups you wants to give the permission and just specify the role in the UI Action you will get your requirement for sure, its easy and reliable.
Regards,
Imran Ahmad
Please mark helpful below
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-19-2022 04:07 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-19-2022 05:06 AM
Hi Abhishek,
You can try the below code in the condition field of your UI action.
current.subcategory=='mailbox_update'&¤t.assignment_group='sys_id of the assignment group'
If you don't want to place the sys_id of asignment group then you can try to create a system property and save the sys_id of that group there and then call the system property in your condition filter in place of sys_id by using below code:
current.subcategory=='mailbox_update'&¤t.assignment_group=gs.getProperty('name of the system property');
Please mark this as correct and helpful if it resolved the query or lead you in right direction.
Thanks,
Mohit Kaushik
Community Rising Star 2022
Mohit Kaushik
ServiceNow MVP (2023-2025)

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-19-2022 07:47 AM
Hii Abhishek,
I have a suggestion, no need to add the condition just create a new role and assigned the to that groups you wants to give the permission and just specify the role in the UI Action you will get your requirement for sure, its easy and reliable.
Regards,
Imran Ahmad
Please mark helpful below