UI policy not setting field Read only

ARP3
Tera Expert

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. 

find_real_file.png

 

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?

10 REPLIES 10

Ankur Bawiskar
Tera Patron
Tera Patron

Hi,

Seems strange

looks there will be more debugging required

Regards
Ankur

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

sachin_namjoshi
Kilo Patron
Kilo Patron

did you checked data policies which may be conflicting with your UI policy?

Also, instead of UI policy, try to do this with client script.

 

Regards,

Sachin

Thanks for replying. If there is a data policy, that should be listing in the field watcher , right?

Yes, Also, this means that your field is mandatory at dictionary level like below

 

find_real_file.png

 

 

If it's mandatory, then you can't set to read only.

First you have to make it non mandatory and then set read only.

 

Regards,

Sachin