Need to make a field Readonly in the change form(Change_request). when the appproval state requested

Aakhiil
Tera Expert

Hi Experts,

I have a requirement like 
I Need to make a field (Impact)  ReadOnly in the change form(change_request). when the approval state "requested"(sysapproval_approver) table. PFA

Could you please help me on it. Any help will be appreciated 

Aakhiil_0-1688481111133.png

 



Thanks in Advance
Aakhil

7 REPLIES 7

Samaksh Wani
Giga Sage
Giga Sage

Hi Aakhiil

 

Create a UI Policy, Where select the Read-Only Check-Box, Select your Table and add the condition approval state == requested

 

Mark my solution as Accepted if you find Helpful

 

Regards

Samaksh

Hi @samakshwani 

Thanks for your reply 

I have already  tried with UI policy on change request table but its not working as excepted why because approval state "requested " its in (sysapproval_approval) table.

Hi Aakhill,

 

You can create a OnLoad Client Script and call Script Include in it, For getting the approval state value and according to that you can change the state of impact field as Read Only.

 

Plz Mark my solution as Accepted if find helpful.

 

Regards,

Samaksh