Scheduled Shift Count Condition
com.workbrain.app.ta.conditions.ScheduledShiftCount
The Scheduled Shift Count Condition compares an actual schedule shift count to a given schedule shift count with a given operator. If the StartDayOfTheWeek parameter is supplied, the shift count from the start of the week is used.
This condition is used to query the employee’s schedule to determine how many shifts the employee is scheduled to work for the current date or week.
Parameters In
Name | Type | Description | Example |
---|---|---|---|
Operator | String | One of the operators that is used to compare the day
off index with the target index. Supported operators are =, <>, <, <=, >=, and >. |
= |
CompareToScheduledShiftCount | Integer | The value that will be compared with the actual count. | 2 |
StartDayOfTheWeek | String | If supplied, the actual count will be performed between the start of the week and the current work date. If the parameter not supplied, the current calculation date is used. |