The Zurich release has arrived! Interested in new features and functionalities? Click here for more

how to make fields read only in child task table form based on the specific field value of parent case table

kambalapally
Kilo Contributor

Hi everyone, I am trying to make the fields read only in task form (child table) whenever a field (ex: HR service) in HR case form (parent table) is having some specific value.

The fields in the task form need to editable if we choose other value except one specific value in the HR case form field (ex: HR service). Can anyone help to write code for this.

2 REPLIES 2

amlanpal
Kilo Sage

Hi Spandana,



You may use UI Policy and set the field ReadOnly setting via UI Policy Action. You may set the condition by using 'Show Related Fields' concept of the field which refers the parent table.


find_real_file.png



I hope this helps.Please mark correct/helpful based on impact


Hi Amlan Pal,


Thank you for the suggestion.


when i am trying to set the field from the parent table in 'when to apply' UI policy it is not refering to the parent fields.


and in UI actions also it is not showing the exact task related fields.


community1.PNGcommunity2.PNG




I have tried this way but it is not working. can you help me in some other way.



Thank You.