ACL for incident

Jayasri Cheruku
Tera Contributor

.

1 ACCEPTED SOLUTION

piyushsain
Tera Guru
Tera Guru

Hi, Create a Write ACL, with field Assignment group , so that would be table.assignment_group.

In that click advanced as true and in the script write.

if(gs.getUser().isMemberOf(current.assignment_group)){
return true;}
else{
return false;}
If my answer has helped with your question, please mark my answer as accepted solution and give a thumb up.
Regards,
Piyush Sain

View solution in original post

2 REPLIES 2

piyushsain
Tera Guru
Tera Guru

Hi, Create a Write ACL, with field Assignment group , so that would be table.assignment_group.

In that click advanced as true and in the script write.

if(gs.getUser().isMemberOf(current.assignment_group)){
return true;}
else{
return false;}
If my answer has helped with your question, please mark my answer as accepted solution and give a thumb up.
Regards,
Piyush Sain

AnubhavRitolia
Mega Sage
Mega Sage

@Jayasri Cheruku 

 

What in the beginning when Assignment Group is empty? Who should have access then? 

Please mark this as correct answer and helpful if it resolved, or mark this helpful if this help you to reach towards solution.

Thanks
Anubhav Ritolia
ServiceNow Rising Star 2023