Is there any way to override an user criteria?

joaosantos174
Tera Contributor

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?

 

 

2 REPLIES 2

Tushar
Kilo Sage
Kilo Sage

Hi @joaosantos174 

 

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

 

Jaspal Singh
Mega Patron
Mega Patron

Hi,

I doubt it is user criteria. Did you check if users have visibility to Catalog item table? Any Read ACL or so.