Read only fields on Normal Change when State = Scheduled
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-02-2024 03:24 AM
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?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-02-2024 03:30 AM
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]
****************************************************************************************************************
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-02-2024 03:34 AM
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).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-02-2024 07:49 AM
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]
****************************************************************************************************************
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-02-2024 08:52 AM
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)
}