Close complete ui action on hr task table doesn't check for mandatory fields

GeoVic Gkou
Tera Expert

Hi,

Why the system doesn't check for mandatory fields when i am closing a task from the ui action "close complete" but it checks when i am closing it from the field "state"?

Thank you in advance

1 ACCEPTED SOLUTION

Hi again 🙂 

I found a solution without creating data policy, the problem was the checkbox: "client" on the ui action . It was checked and i unchecked it . 

 

Thank you!

View solution in original post

4 REPLIES 4

Anurag Tripathi
Mega Patron
Mega Patron

Hi,

It depends on how its implemented. If the validation is only on client side and the script runs on server side then it will skip.

For if, if you are making fields mandatory by client script/ui policy and the ui action is server side then it will skip it.

For this reason you should try and use the data policies, that will check for mandatory fields regardless form where the action originates.

 

-Anurag

-Anurag

the validation is a ui policy (not catalog ui policy ) so isn't it server side? 
Moreover, the close complete button is the OTB button for hr tasks.

 

Thanks,

Georgia

You need to change the ui policy to data policy ad then you should be good.

 

-Anurag

Hi again 🙂 

I found a solution without creating data policy, the problem was the checkbox: "client" on the ui action . It was checked and i unchecked it . 

 

Thank you!