HR case show case subject person issue

Community Alums
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
Giga Sage

send the screenshot of read acl