Restriction for opened by on HR case

kumaar
Tera Contributor

I want to restrict Hr cases to opened by 

The condition are 

When on the case assignment group is Group1

And the opened by user is not from this group then case should not be visible to the user..

What should be the approach..pls provide the code as well

I tried but its not executing 

5 REPLIES 5

Ankur Bawiskar
Tera Patron
Tera Patron

@kumaar 

Did you try to use HR COE security policy?

Create a COE security policy 

How to utilize COE Security Policies in the HR module to its full effect 

If my response helped please mark it correct and close the thread so that it benefits future readers.

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

Is this possible with coe security policy?

If it is then what is the condition to be given for opened by should be from Group1 then only he will see the case else not

@kumaar 

you can use Assignment group [is dynamic] One of My Groups in condition

see this

COE Security Policy to restrict access to cases based on Assignment Group 

AnkurBawiskar_0-1754919709264.png

 

If my response helped please mark it correct and close the thread so that it benefits future readers.

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

@kumaar 

Hope you are doing good.

Did my reply answer your question?

If my response helped please mark it correct and close the thread so that it benefits future readers.

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