Leave request

  Hi, Experts  I want to add default business calendar year and to set the working days and public holidays and to set the leave limit of the  month for employee . If the employee is having one casual leave and one sick leave for the month the limit should not exceed beyond that he should get a error message while applying leave. how to achieve this  
2 answers

Add required condition in decision box, If exceeds then throw validation feedback activity


The UI or the Button where the User is applying leave should be converted to a Microflow.
In this MF, first check if for this month did the user cross the ALLOWED leaves or not. If no, let him continue. If yes then dont let him continue and show a nice message box.

Also on the contrary you can let him continue but then make sure the validation is there on APPROVAL level.


Hope this helps