How to remove readonly from configuration item field on change table

suresh40
Tera Contributor

Hi All,

 

I have a requirement, to remove  read-only from configuration item field on change table. I have inactive OOB client script (Read Only Ci )and OOB ui policy (Prevent CI changes when not new) condition change to state is closed But its not working Please help me on this . I want when State is closed then only configuration item has to been ready-only . 

suresh40_0-1693827357569.png

 

Thank you

Suresh

2 REPLIES 2

karthiknagaramu
Kilo Sage

Hi,

 

The red dot indicates(next to field name) there is a conflicting UI policy. Please check other UI policy which is on cmdb_ci field and if required change the order.

 

Regards,

Karthik Nagaramu

Kartik Magadum
Kilo Sage

Hello @suresh40 

 

To achieve this functionality, wherein the Configuration item should become read-only only when the state of the change request is closed, please follow these steps:

1. Search for the Out-of-the-Box (OOB) client script named "Read only CI" and set its status to "active = false."

2. Additionally, search for the UI policy with the short description "Mandatory - Close notes and code when in Closed state." In this UI policy, add a UI policy action with the following settings:
- Field name: Configuration item
- Read-only: True

 

Cmdb_ci.png

 

Please Mark my Solution as Accept and Give me thumbs up, if you find it Helpful.

 

Thanks & Regards,

Kartik Magadum