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.

How to restrict specific groups or categories of incidents to only its group members

Renu4
Tera Contributor

Hello All,

I want to restrict the HR group from everyone as it will contain confidential data.

I need guidance with it.

i have refered to the knowledge artile here:

 

https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB0790987

but not sure what wrong i am doing .

 

I have attached the image below for more info.

Thanks in Advance,

Regards,

Renu

 

 

14 REPLIES 14

Ankur Bawiskar
Tera Patron
Tera Patron

@Renu4 

So members from HR group should not see any incidents?

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

Hi Ankur,

Could you guide me?

 

Renu4
Tera Contributor

Hi Ankur,

 

I need only the hr people and the creator of the ticket to be able to view the ticket.

Community Alums
Not applicable

Hi @Renu4 ,

 

Use the below script to achieve this requirement.

Use sys_id of group in place of group name.

 

AnandMahajan_1-1698989506759.png

 

 

If this solves your query mark this as correct and helpful.

 

Thanks

Anand

Hi Anand,

i can still view the tickets raised by one more colleague to the HR group.

i am using before -->query rule.