Read only fields on Normal Change when State = Scheduled

StewartFletcher
Tera Expert

I'm looking to try and get the Assignment Group field to be editable at State = Authorise and State = Scheduled.

 

However, this field and most others get made read only as soon as it hits Authorize. I've scoured UI Policies, Business Rules, Client Scripts, ACL's and even Script Includes to try and find what is referencing this and making them read only, but I cannot pinpoint where this is.

 

Has anybody come across anything similar and found where this is being controlled at all?

7 REPLIES 7

Dr Atul G- LNG
Tera Patron
Tera Patron

Hi @StewartFletcher 

 

I checked OOTB is editable in Auth state as well. May be you can check in flow / workflow once. 

*************************************************************************************************************
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]

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

Hi @Dr Atul G- LNG

 

The flows only deal with the approval process, not making fields read only. It's also read only in Scheduled, as per my initial mention (though I know I said it goes read only at Authorize - it's the same for Scheduled as that's right after Authorize).

Sorry mate, then no idea. Log a Now support case.

*************************************************************************************************************
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]

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

siva krishna M2
Tera Guru

Hello @StewartFletcher ,

 

Create a UI policy on change table with condition as state is authorize and state is scheduled and create UI policy action to make the field assignment group as read Only "false" , visible is true.

 

If it won't work then try by creating on change client script on change table for the field change state with below script.

if( newValue =={value of Authorize} || newValue =={value of scheduled})

{

g_form.setReadOnly('assignment_group', false)

}