If I use a Before Query business rule will it cause performance issue
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-03-2025 03:03 AM
If I use a Before Query Business Rule and my system has 230,890 records in the HR case table, will it cause an issue?
I'm not using ACLs because there are too many on the HR table and its parent table, making it time-consuming and leading to conflicts.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-03-2025 03:14 AM
What version are you on? The Deny-Unless ACL was introduced with Xanadu and will save you a lot of time with a requirement like this.
A before query will work, but it will have to run through the entire table. With a deny unless ACL you can just easily set the conditions.
Add the role needed to read at all, add the data conditions of hr service = abc or def or ghi and assignment group = mobility group and a security attribute of group = mobility group (ensuring the user is member of that group.
Please mark any helpful or correct solutions as such. That helps others find their solutions.
Mark
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-03-2025 03:18 AM
Washington Version
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-03-2025 04:45 AM
If you can wait for a bit, I would really use the Deny-Unless ACL once you upgrade to Yokohama. It will be a way easier solution. And with Washington becoming unsupported in May, it's around the corner.
Please mark any helpful or correct solutions as such. That helps others find their solutions.
Mark
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-03-2025 04:19 AM
why not use HR COE security policy and it will handle the restriction for respective HR Services?
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