I implemented a validation that checks if one has enough leave balance and returns error when requested days are more than the balance a person has.
But now, there’s a need to show a warning instead of an error and allow the request to be submitted so that the approver will be the one to decide whether to approve or deny.
How can I achieve this? Ash document says that validation does 2 things: 1) Add an error, or
2) Continue.
It would be nice to do this in a validation if possible.