Users unable to see categories in service portal

Rajnee Bhujel
Tera Contributor

Users unable to see categories in service portal even while the user criteria is satisfying. 

Admins can see it and create requests but other users cannot. is there any specific role needed for a generic user to able able to create a request?

1 ACCEPTED SOLUTION

Community Alums
Not applicable

Hi @Rajnee Bhujel ,

1.Go to Catalog Definitions>Maintain Categories. 
2.Choose any category name which is not seeing by the other user.
3.Search for that on Title search. 
4.Open the record. 
5.Go to Related Links and choose Available. 
6.It will show you some record.
7.Open those record .On script it will show you one condition i.e 
your email id should be like ('pallavi.nath@servicenow.com'). 

If the user has the same kind of email id as above mentioned and the other user has not. 
The Script prevents the other user to see all those other categories.

View solution in original post

14 REPLIES 14

HI Pavan,

the sc_category page has the following criteria in all the environments and the user has snc_internal.

Roles

snc_external, snc_internal

Ashraf3
Tera Contributor

Screenshot 2022-12-12 191706.jpgPlease check if that particular page is mapped to some Roles!

Roles: snc_external, snc_internal

and the user in question has snc_internal.

Community Alums
Not applicable

Hi @Rajnee Bhujel ,

1.Go to Catalog Definitions>Maintain Categories. 
2.Choose any category name which is not seeing by the other user.
3.Search for that on Title search. 
4.Open the record. 
5.Go to Related Links and choose Available. 
6.It will show you some record.
7.Open those record .On script it will show you one condition i.e 
your email id should be like ('pallavi.nath@servicenow.com'). 

If the user has the same kind of email id as above mentioned and the other user has not. 
The Script prevents the other user to see all those other categories.

Right, on the criteria, in the advanced option "new sn_hr_core.hr_Criteria().evaluateById("9b0f358f1bf99d94ee0ca68ee54bcb41", user_id);" was specified. when I removed this. now the category is available to other users