User unable see assigned cases and all group cases

vijani
Giga Guru

Hi,

I have created a custom table sn_hr_er_enquiry_case by extending the sn_hr_er_case table. I also created three roles: Manager, Reviewer, and Support Person.

Access configuration is as follows:

  • Read access is given to: sn_hr_er_admin, sn_hr_er.Manager, sn_hr_er.support_person, and sn_hr_er.reviewer
  • Write access is given to: sn_hr_er_admin, sn_hr_er.Manager, and sn_hr_er.reviewer
  • Create access is given only to: sn_hr_er_admin
  • Delete access is given only to: sn_hr_er_admin

I assigned the Manager role to User X and User Y. As an admin, I created a case for User X and assigned it to User Y.

However, when I impersonate User Y, they are unable to see the case assigned to them.

Then, I assigned the sn_hr_er_admin role to User Y and removed the Manager role. After that, when I impersonate User Y and create a case, they are able to see the cases they created and assigned. But they are still unable to see cases created by others and assigned to them.

Could you please help me understand why this is happening?

5 REPLIES 5

Ankur Bawiskar
Tera Patron

@vijani 

so what debugging did you do?

Did you use Access analyzer and debug?

Any HR COE Security policy is blocking the access?

Regards,
Ankur
Certified Technical Architect  ||  10x ServiceNow MVP  ||  ServiceNow Community Leader

Thank You @Ankur Bawiskar @Tanushree Maiti 

Access is being denied due to a query-type Business Rule

 

Hi @vijani ,

 

So almost you are sorted, Check if that Business Rule checks if user has a role or part of assignment group . 

 

Assign the user that same role or add in the required group.

 

Please mark this response as Helpful & Accept it as solution if it assisted you with your question.
Regards
Tanushree Maiti
ServiceNow Technical Architect
Linkedin:

@vijani 

Glad to know

Please see if the query BR is working as per requirement

Accordingly enhance it

💡 If my response helped, please mark it as correct and close the thread 🔒— this helps future readers find the solution faster! 🙏

Regards,
Ankur
Certified Technical Architect  ||  10x ServiceNow MVP  ||  ServiceNow Community Leader