Is Balance In Range Condition

com.workbrain.app.ta.condition.IsBalanceInRangeCondition

Some organizations or states have specific rules that should only apply to employees whose balance buckets have a certain quantity or units within them. This condition allows the application to check an employee's balance as of the calculation date and compare the balance against a specific value.

Parameters In

Name Type Description Example
BalanceName String The name of the balance to check. Vacation
BalanceValue Number A value against which to compare the identified balance. 5
Operator Drop-down The nature of the comparison between the balance and the value. Supported operators are =, <, >, <=, and >=. <

Example: SICK balance

In this example, the condition returns true when an employee has at least 10 days of SICK time:

Parameter Value
BalanceName SICK
BalanceValue 10
Operator >=

Example: PTO balance

In this example, the condition returns true when an employee has less than 130 hours of PTO:

Parameter Value
BalanceName PTO
BalanceValue 130
Operator <