Allow a user to view their departments requests in the service portal

BriTaylor
Kilo Sage

Hi,

 

I have a requirement to allow end users the ability to view their departments incidents and requests on the Service Portal. These users have no roles in the system.

 

I was able to figure out the incidents side of this requirement, however I am unable to figure out the requests.

 

I have created a custom ACL on the sc_request table that looks at the Request's requested for's department information and compares it to the logged in user's information. 

 

I have the same ACL on the sc_req_item table for the requested items.

 

I am able to see the appropriate requests in the list.

BriTaylor_0-1702578711083.png

 

However, when clicking on one of the requests for a member of my department I get a "Request not found" error.

BriTaylor_1-1702578755857.png

 

If I navigate to the request on the platform side, I am able to see the request.

BriTaylor_2-1702578856692.png

 

 

I am at a loss for what is causing this. Any help would be appreciated.

1 ACCEPTED SOLUTION

Doing some more digging I was able to find I needed to create a 2nd ACL for sc_request.*". After creating that ACL everything worked as I would expect.

View solution in original post

6 REPLIES 6

jonsan09
Giga Sage
Giga Sage

You can try the following to verify if your ACLs are working as intended: https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB0688922

So I can "see" the request, however it doesn't look like it is pulling in all the data.

 

BriTaylor_0-1702611258259.png

 

Below is the ACL I have on the sc_request table that I believe should allow all users access to read data from that table.

 

BriTaylor_1-1702611454403.png

 

 

 

Doing some more digging I was able to find I needed to create a 2nd ACL for sc_request.*". After creating that ACL everything worked as I would expect.

Verica M
Tera Contributor

Hello BriTaylor,
What was solution for Incident records?