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.

Show incident rows only to the assignment group

shany_b
Kilo Contributor

Hi,

Is there a way to define that only the assignment group could see her incident rows?

I tried to write an ACL:

Operation: read

script:

if(gs.getUser().isMemberOf(current.assignment_group))

{

answer=true;

}

else

{

answer=false;

}

however, the group members can't see any of the records (i attached a screenshot)acl.png

The member that i impersonated should have seen the first 3 rows

Also - I want the ones that are not in the assignment group to not see the records at all - instead of these empty records

Thank you in advance

10 REPLIES 10

this is the ACL debug output:



logACL.png