Managing leave eligibility criteria

Managing leave eligibility criteria

Menu Path : Setup > HR Setup tab > Leaves
Accessible to : Application Administrator

There are some leaves which are not applicable to all employees. To map a set of employees who are eligible for a leave we use the eligibility criteria. In the software it is modeled as a formula builder which gives allows you to define the conditions and gives a list of employees as output. As an Application Administrator you can create the eligibility criteria for any leave type. Do this carefully because once the leave is submitted and in use then the eligibility criteria cannot be edited.

Eligibility criteria are created using a formula builder as shown below -


Creating a formula
1. You will see a default formula "All" in Eligibility Criteria. Click on "Create Eligibility Criteria" button
2. You will see the Eligibility Criteria – Formula Builder. Select the Field, Operator and Value from drop down to make a expression. For example select Field = “Gender Type”, Operator = “=”, Value = “Female”
3. Click on "Add to Filter" button. This button adds the expression made in Step 2 to the Formula and in this case also removes “All” from the box
4. If you want to add another expression you can click on "Add OR" or "Add AND" and then proceed to create an expression. Follow Step 2 and 3 to add another expression
5. If the expression is complex and you need brackets you can use "Add (" or "Add )" to the formula
6. You can create formula builder on Gender Type, Employee Type, Employment Status, Job Duration, Company, Sr Level, Department, Division, Office Location, Marital Status or Work Nature. The options visible are linked to the history feature and only if history feature is enabled the parameters will be visible here

If you want to clear all the expressions click on "Clear All" button, if you want to remove the last added expression use "Remove Last"

Note : Write down the formula on paper with brackets and logical expression and then use the Formula builder.

Testing a formula
Once you have made the formula you should test it for both syntax and logic. Click on "Test Formula" button. There are three possible outcomes.


1. Test Successful but there are no employees which meet the criteria. This means that the formula you have made is correct but none of the current set of active employees you have meet this criteria.
2. Test Successful and there are employees as per the list. The list of employees who meet the criteria are shown. This tells you if your formula is working as per your expectations or not.
3. Test Failed. This means that the formula you have made is logically and syntactically wrong. You should go and change the formula.

If the formula you have made is working fine you can close the box and proceed to Save or Submit the Leave.
After any change is done in the eligibility criteria or if a new eligibility criterion is created you are advised to run a Test to see if the formula has been built correctly.

Note : Once the formula is made and the leave is submitted you will not be able to modify the eligibility condition.



    • Related Articles

    • Managing leave encashment process

      Menu Path : HR Manager >Leaves > Leave Encashment tab Accessible to : HR Manager Leave encashment can be done in two scenarios 1. While still in employment - this article details how leave encashment request can be received from employees or updated ...
    • Report - Leave Eligibility Periods

      Menu : EazeHR > Reports > Leave Employees get mapped to a leave based on eligibility conditions and if any parameter in the eligibility condition changes for employee he/she will not longer be eligible for the leave. This report shows details of ...
    • Leave Accounting - Advanced Scenarios

      Leave accounting is a fairly complex activity with multiple methods of leave accrual, different types of leaves for different sets of employees, changes in employee status due to promotions, transfers or changes in leave policies. In this article we ...
    • Leave Design Concepts and Advanced Scenarios

      Leave design involved a large number parameters, there are multiple methods of leave accrual, different types of leaves for different sets of employees, year end conditions and then there are requirements to change the leave policy for a leave which ...
    • Report - Details Of Leave Credits

      Menu : EazeHR > Reports > Leave This report provides details of all the accruals of leaves for an employee. If Opening balance is changed multiple times in a year each transaction is shown with the incremental value. This report will not show leaves ...