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.

Create ACL for group access only

Sharon Williams
Tera Contributor

I need to create an ACL that will only allow users in a certain group see the RITM records when a certain catalog item is submitted.  I put a screen shot of the how the ACL that I created is setup.  However it is not working.  I cannot figure out what I'm doing wrong.  The ACL has one condition and one line of code in the script.  I tried using the group name and the group sysID in the code.  Any help on this would be appreciated.

1 ACCEPTED SOLUTION

Allen Andreas
Tera Patron

Hi Sharon,

 

I believe you need to set the "answer" of your script to the line of code you have, meaning:

 

answer = gs.getUser().isMemberOf('name of group');

 

 


Please consider marking my reply as Helpful and/or Accept Solution, if applicable. Thanks!

View solution in original post

1 REPLY 1

Allen Andreas
Tera Patron

Hi Sharon,

 

I believe you need to set the "answer" of your script to the line of code you have, meaning:

 

answer = gs.getUser().isMemberOf('name of group');

 

 


Please consider marking my reply as Helpful and/or Accept Solution, if applicable. Thanks!