Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

Restrict Access to Incidents Based on Role

Randy33
Tera Guru

I'm trying to restrict access to incidents assigned to a specific assignment group to users unless they have a specific role.  I'm trying to you a before query business rule but not having much luck.  Does anyone have a good document explaining how to setup?

1 ACCEPTED SOLUTION

I tested the following BR (restricts incident with assignment group "Software" to users without the 'incident_manager' role. May work for you for you role and group.

 

Screenshot 2025-02-09 125128.pngScreenshot 2025-02-09 125112.png

View solution in original post

8 REPLIES 8

I tested the following BR (restricts incident with assignment group "Software" to users without the 'incident_manager' role. May work for you for you role and group.

 

Screenshot 2025-02-09 125128.pngScreenshot 2025-02-09 125112.png

Randy33
Tera Guru

Thank you - I was able to use your logic to resolve.

I'm glad I helped.  Please close this thread by Accepting Answer here.

faisal_waryum
Tera Expert

@Randy33 

you can set up a group config. I have done something similar where i wanted users with X role to be able to do an override on line manager requests, i set up a new group, with group config and BR

How i did it was: 
group - within the group we have a config set up - so that only users with X job title will have access
business rule - which is on the sysapproval_approver table

my business rule 

faisal_waryum_0-1740134370716.png

faisal_waryum_1-1740134386089.png


Let me know if this helps 🙂