Restricted Assigned to field on problem record

sureshp89882164
Tera Contributor

Need help on to create ACL for The Assigned to field should be writable by current Assignment Group and Global problem management team only on Problem record. And in New state Assigned to field should be writable by everyone.

8 REPLIES 8

@sureshp89882164 

so in which case user is not able to edit?

did you debug and see using access analyer which ACL is blocking?

Remember that user should pass table.None WRITE ACL as well to edit that field

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

It is not restrict users in "Access" state on Assigned_to field other than current.assignment group or Global problem management group.

@sureshp89882164 

did you add log and see?

is that logged in user member of either assignment group or that group in property?

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

J Siva
Tera Sage

Hi @sureshp89882164 

Create one Field type write "Deny Unless" ACL as below.

JSiva_0-1746162500619.png

JSiva_1-1746162580913.png

answer = false;
var current_group = current.getDisplayValue('assignment_group');
if (current_group != "") {
    if (gs.getUser().isMemberOf(current_group)) {
        answer = true;
    }
}
if (gs.getUser().isMemberOf('Service Desk')) { // CHANGE THE GROUP NAME
    answer = true;
}

Regards,
Siva