- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-29-2015 08:20 PM
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
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-29-2015 09:54 PM
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-29-2015 10:55 PM
Hi Logan, would you mind trying with your ACL active and with the script field empty?
If it still fails, here goes some follow up questions:
a) do you have any roles defined on your ACL related list?
b) can you modify other fields of that table?
Thanks,
Berny
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-30-2015 07:58 AM
No roles. No with the impersonated user I cannot modify any other fields. With Admin override turned off, with the ACL on I can not edit the field and with it off I can edit the field.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-30-2015 08:23 AM
Hi Logan, that will explain it then!
Most probably you need an ACL at the table level to grant you write access over change_task. Please check if you have a write ACL named change_task which grants you access to the change_task table? If you don't, please create one and try again
Thanks,
Berny
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-30-2015 08:26 AM
Once you have access to the table, then you might also want to check the desired access for the rest of the fields within the table defining or modifying the ACLs named change_task.* or change_task.field_name
Thanks,
Berny

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-30-2015 01:42 AM
Remember that the ACL is only evaluated when the record is loaded and when the record is saved.
I don't think it will dynamically make the field read only until you save,
ServiceNow Nerd
ServiceNow Developer MVP 2020-2022
ServiceNow Community MVP 2019-2022