- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-29-2022 06:40 AM
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
Solved! Go to Solution.
- Labels:
-
HR Service Delivery
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-01-2022 07:55 AM
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!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-29-2022 06:46 AM
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-30-2022 11:35 PM
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-01-2022 12:16 AM
You need to change the ui policy to data policy ad then you should be good.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-01-2022 07:55 AM
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!