ACL

Mark Wood
Tera Contributor

Hello Experts,

I am working on the below requirement.

When State is Pending HI Case
and Caller is Logged in user
Then make the state field read-only on the form as well as on list
How can we achieve this using ACL?

Thank You

7 REPLIES 7

Voona Rohila
Kilo Patron
Kilo Patron

Hi @Mark Wood 

You can create a 'write' ACL on state field with conditions as 'State is Pending HI Case and caller is dynamic(me)' and add appropriate roles on who can have write access on this field


Mark it helpful if this helps you to understand. Accept solution if this give you the answer you're looking for
Kind Regards,
Rohila V
2022-25 ServiceNow Community MVP

Stefan Reichelt
Tera Guru
Tera Guru

Honestly, I see this as a classic example for a Data Policy. As stated by Voona, it is possible with an ACL indeed, but this is rather process than security related, so I believe a Data Policy is far enough to achieve what you want. You can get it done with just a few clicks, and it's easy to handle.

 

Best regards,

Stefan

Hello @Stefan Reichelt ,

Following your data policy approach, I tried to make the field read-only. It works fine in the list view, but in the form view, I am still able to access the state field, which I want to make read-only. Unfortunately, it's not working. Could you please guide me on why this is happening?field should be read only.

Did you make sure to activate the "Use as UI Policy on client" checkbox?