Read only field inconsistent

Donabelle
Tera Contributor

Hello.

 

I have this field "organizational unit" that should set to enabled if we select a project. However, there are projects that made it set to read only, then we changed it to another project it will set enabled and vice versa. 

 

Can someone know what is the cause of this?

Kindly see attached screenshot.

8 REPLIES 8

Harsh_Deep
Giga Sage
Giga Sage

Hello @Donabelle 

 

You can't made readonly field as mandatory. If you have to make field mandatory then you have to make this readable.

 

Mark Correct if this solves your issue and also mark 👍 Helpful if you find my response worthy based on the impact.

I already try this, still not working

 

Instead of script, could you please try the UI policy way.

*************************************************************************************************************
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.

Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/atul_grover_lng [ Connect for 1-1 Session]

****************************************************************************************************************

Dr Atul G- LNG
Tera Patron
Tera Patron

Hi @Donabelle 

 

If you are using policy or script, then if a field is mandatory cant be read only.

*************************************************************************************************************
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.

Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/atul_grover_lng [ Connect for 1-1 Session]

****************************************************************************************************************