Get a first look at what's coming. The Developer Passport Australia Release Preview kicks off March 12. Dive in! 

Restrict SCTask should visable only the certain group !!

Barathk
Tera Contributor

Hi All,
I have created the ACL to restrict SCTask should visable only the certain group, but it is not working.
we are creating SCTASK to the 3 different groups, these SCTASK should visible to only that 3 group , other groups need to restric to view.
can anyone please help to achieve this.
I am sharing the ACL to this post.

2 REPLIES 2

Murthy Ch
Giga Sage

Hello @Barathk 

Can you try below script:

var answer = gs.getUser().isMemberOf("a","b","c"); //replace with group sys_id's
Thanks,
Murthy

James Chun
Kilo Patron

Hi @Barathk,

 

I would recommend using the Data Filtration instead of ACL - https://docs.servicenow.com/bundle/washingtondc-platform-security/page/administer/security/concept/d...

 

Should be straight forward to set it up and won't require any coding.

 

Cheers