State changes to approval
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-10-2024 11:44 PM
Hi Team ,
Need some help in scripting part , Requirement is Set below fields to read-only after approval is requested
cmdb_CI,cat,subcat,shortdescription,description
I tried with UI Policy , but looks like it doesn't work .
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-11-2024 12:06 AM
Hi @pramn ,
You can make field read only by using UI policy based on state field, If state moved to "Requested" you can make required field as read only, Make sure to check "Reverse if false" if approval is rejected and state moved to some other value.
you can make read only by "On Load" client script as well by the following syntax.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-11-2024 01:08 AM
We don't have options in UI Policy like changes to move to , we do have it in business rule .
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-11-2024 01:51 AM
Hello @pramn
You can use "State is Requested", But it will not make fields readonly if the field is already made mandatory.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-11-2024 02:26 AM
requested option is not available