Is there any way to override an user criteria?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-02-2023 02:52 AM
I have a catalog item that every user has access. The idea of this item is to add or remove the permission to view other items of the catalog (by editing the user criteria by a script).
The issue that I am facing is that when a user opens the item I have a reference variable to the sc_cat_item table so that we can select the catalog item(s) that wants to request access. However the user cannot see the items since the user criteria is restricting the visibility.
Is there any way to ignore the user criteria restrictions for a specific variable?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-02-2023 05:14 AM
I think there is no built-in way to directly ignore user criteria restrictions for a specific variable in ServiceNow.
However, you try to Create a Script to Bypass User Criteria or you can temporarily modify the user criteria for the specific user, so it doesn't restrict access to the desired catalog items.
Please, don't forget to mark my answer as correct if it solves your issue or mark it as helpful if it is relevant for you!
Regards,
Tushar

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-02-2023 05:37 AM
Hi,
I doubt it is user criteria. Did you check if users have visibility to Catalog item table? Any Read ACL or so.