“Assigned to” field should be editable only to members of the “Assignment group”. write ACL

shivkumar1
Tera Contributor

Hi,

Assigned to” field should be editable only to members of the “Assignment group”. (Hint: write ACL)

1 ACCEPTED SOLUTION

Gunjan Kiratkar
Kilo Patron
Kilo Patron

Hi @shivkumar1 ,

You can create field level ACL for that table. 

and write down condition as below in script :-

if(gs.getUser().isMemberOf(current.assignment_group.toString())){
return true;
}else {
return false;
}

 Before that you must have security_admin role.


Please Mark My Response as Correct/Helpful based on Impact
Regards,
Gunjan Kiratkar
2X ServiceNow MVP
Community Rising Star 2022
Youtube : ServiceNow Guy

View solution in original post

1 REPLY 1

Gunjan Kiratkar
Kilo Patron
Kilo Patron

Hi @shivkumar1 ,

You can create field level ACL for that table. 

and write down condition as below in script :-

if(gs.getUser().isMemberOf(current.assignment_group.toString())){
return true;
}else {
return false;
}

 Before that you must have security_admin role.


Please Mark My Response as Correct/Helpful based on Impact
Regards,
Gunjan Kiratkar
2X ServiceNow MVP
Community Rising Star 2022
Youtube : ServiceNow Guy