Built something you're proud of? Tell the story. A quick G2 review of App Engine or Build Agent helps other developers see what's possible on ServiceNow. Share your experience.

HR case show case subject person issue

Not applicable

Hi All,

 

I have requirement to not show the HR case for subject person for particular HR service. I have unchecked the "Show case to subject person" in the HR service. But it was still showing the case to the subject person. I have also tried the ACL below is my ACL code:

 

if (hrservice == current.hr_service) {        //hrservice = <HR service name>
    if (gs.getUserID() != current.subject_person) {
        answer = true;
    } else {
        answer = false;
    }
}
else{
	answer = true;
}

 

 
Could anyone suggest a solution for not showing the HR case to subject person.
Thanks 

1 REPLY 1

Samaksh Wani
Giga Sage

send the screenshot of read acl