Write ACL evaluating as false

logan2
Mega Contributor

There is a field on a form that is only supposed to allow edit IF the choice box value is a certain value. I wrote in the conditions to allow this to happen, as it sounds fairly simple. The ACL evaluated as false.

So I removed the conditions and just added a script for "answer = true;" and it is still evaluating to false. If I set the ACL to inactive, I can edit the field. But if I set it to active with the hardcoded true it does not allow edit. There are no roles associated with this ACL.

Any ideas would be greatly appreciated. This is the change_task table, which inherits the task table if that is of any help.

Thanks

1 ACCEPTED SOLUTION

Deepak Ingale1
Mega Sage

I don't see a reason that it is getting evaluated to false since all your three conditions ( Condition filter, script and role) are evaluated to true, so ACL should be true


Providing screenshot of ACL and Debug Security operations will help to comment further


View solution in original post

11 REPLIES 11

The field that is in the condition is not a field that can be edited after the change task is opened. So no worries about dynamically changing


Have you checked the dictionary entry for the 'read only' flag?


That always trips me up.



ServiceNow Nerd
ServiceNow Developer MVP 2020-2022
ServiceNow Community MVP 2019-2022