Visiblity of the catalog items for all users

phr
Tera Contributor

Hi All,

 

I have a requirement where a particular catalog item needs to be visible to all users , We have also written this code in "available for" section .

phr_0-1714538711553.png

But still users with the snc_internal aren't able to see the catalog item in the portal. How to achieve this?

16 REPLIES 16

James Chun
Kilo Patron

Hi @phr,

 

As per the document, hasRole() will return false for users with only the snc_internal role.

JamesChun_1-1714541460951.png

 

https://docs.servicenow.com/bundle/washingtondc-platform-security/page/administer/contextual-securit...

 

Why not just leave Available for empty if you want to grant access to everyone?

 

Cheers

phr
Tera Contributor

Hi @James Chun 

 

We did check with "Availability for" keeping it empty but still users who have "snc_internal" are not able to view the catalog item.

 

Right, have you tried using the Any User User Criteria?

There should be one OOTB.

JamesChun_0-1714546955492.png

 

phr
Tera Contributor

Hi @James Chun 

 

We tried using this as well but it seems to not work.