Mandatory field

KouassiP
Tera Contributor

Hello All , 

I have a mandatory field in a task of an item .

The fact is this field can only be filled after a treatment and often by another team .

Is it possible to set this field free during an assignment to a team and set it mandatory when we want to close the task ?

 

9 REPLIES 9

Which table should i take for the UI policy ?

Hi @KouassiP ,

 

How come i know your environment and the tables you are using? Are you using OOB tables or custom tables?

 

Please appreciate my efforts, help and support extended to you by clicking on – “Accept as Solution”; button under my answer. It will motivate me to help others as well.
Regards,
Nikhil Bajaj

KouassiP
Tera Contributor

Could you please give me an example ?

M Iftikhar
Mega Sage

Hi @KouassiP ,

 

Yes, you can achieve this with a UI Policy (client-side) or a Business Rule (server-side):

  • Use a UI Policy so the field is optional normally but becomes mandatory when State = Closed.
  • (Optional) Add a Before Business Rule to enforce the same when the record is updated through scripts/API.

 

Thanks & Regards,
Muhammad Iftikhar
If my response helped, please mark it as the accepted solution so others can benefit as well.

How can i do that ? the UI policy ... Which table should i take