UI policy not setting field Read only
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-30-2020 08:23 AM
I have an issue where the UI policy is not making the field Read Only even though the field watcher says, Ready Only set to True.
I don't see Client Scripts or any other BR/ACLs or anything else touching the same field and only able to see UI policy hitting it on reloading form.
Any advice on where else I can check when Field watcher is giving result like this?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-30-2020 08:50 AM
Yes, I checked that as well. Its not mandatory and data policy is also not listing as well in field watcher debugging.
Other question is what happens if the field is appearing multiple times in same form UI, but in different sections of form. Will that affect the UI policy behavior?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-30-2020 08:58 AM
Hi,
I don't know if same field can be added in same form multiple times.
But if yes then it will affect only 1 field
Regards
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-30-2020 09:38 AM
No, it won't affect UI policy even it's same field.
Did you checked for any browser console issues when you inspect this field?
Regards,
Sachin

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-02-2020 02:17 PM
UI Policies do not give consistent results, if 1) the field is on the form multiple times and/or 2) the same field from your UI Policy Action is in multiple UI Policies. You'll know if the latter is true, because the field will have a red circle beside it within the UI Policy. Check to see if either of those are true.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-05-2020 01:28 AM
Hello,
Is it OOB field so that I can give a try and check what all scripts are applied on it ?