Is Employed Period Condition
com.workbrain.app.ta.conditions.IsEmployedPeriodCondition
The Is Employed Period Condition determines whether an employee is considered to have been employed for a certain duration of time, as specified per the condition's parameter settings.
Parameters In
| Parameter | Description | Example | 
|---|---|---|
| Reference | Determines the date that will be used to compare the current calculation date against. These are the supported options: 
 | HIRE_DATE SENIORITY_DATE DATE=10/01/2013 | 
| Operator | The operator to use when comparing the defined employment period against the calculated value. Supported operators are =, <, >, <=, and >=. | >= In this case, the condition returns true when the employee's employment period is equal to or greater than the defined period to check for. | 
| UnitPeriod | The time range to compare against the reference value. These are the supported options: 
 | WEEK X of Y Days | 
| UnitValue | The value to quantify the UnitPeriod. | 3 90,365 | 
Example: Is Employed X days
In this example, the condition returns true for all timesheets that are dated 90 or more days in the future from the employee's hire date.
| Parameter | Configuration | 
|---|---|
| Reference | HIRE_DATE | 
| Operator | >= | 
| Unit Period | DAY | 
| Unit Value | 90 | 
Example: Is Employed X of last Y
In this example, the condition returns true for all employees that have been employed at least 90 days in the last 12 months.| Parameter | Configuration | 
|---|---|
| Reference | HIRE_DATE | 
| Operator | >= | 
| Unit Period | X of Y Days | 
| Unit Value | 90,365 |