Showing error , while making short description field as a read only on change task form

Abhilasha G T
Tera Contributor

Hi Team,

 

As per my requirement , 

 

When particular type on the change task form is selected, need to make some fields read only.

 

using UI policy actions , am making  that short description field as a read only on change task form based on the type , but it is showing error , Mandatory description field

AbhilashaGT_0-1736713207989.png

 how to rectify this?

Regards,

Abhilasha G T

 

 

3 REPLIES 3

ChrisBurks
Mega Sage

Hi @Abhilasha G T ,

 

That usually means there are two or more UI Policies set on the same field and more than likely contradict each other.

You would have to look at all the UI Policies for that table to find any other UI Policies set for that field

John Dahl
Tera Guru

1. You cannot have a field be both Mandatory and Read-Only. You can conditionally set the field to read only if you have a condition that the field is populated.

2. The error message suggests that two UI Policies are designated at the same order. It suggests that a conflict MAY be present, but not necessarily so. If both policies trigger on the same conditions, but have independent fields on which they depend and act, then you are fine to leave them be, but you should consider two options:

    - Adjust the order so that one will be executed before the other.

    - If the conditions are the same, consider combining the UI Policies and just have all of the fields affected at one time.

hi John,

Thanks for your reply,

As you mentioned, i cant combine both UI policies.

 

Regards,

Abhilasha G T