WFM_TER_VALIDATE_REST_PERIOD_DURATION_AP Fast Formula
This time entry rule fast formula is associated with the delivered rule template Compare Rest Between Shifts Template. It compares the reported end and start times for consecutive shifts.
If the rest period between the two shifts is less than the defined rest period, it displays the configured message. This formula uses an array to process time data.
Parameters
Name | Data Type | Description |
---|---|---|
WORKED_TIME_CONDITION | Time category | Time category of reported time entries to compare with the defined rest period. |
REST_PERIOD_IN_MINUTES | Fixed number | Minimum nonworked time, in minutes, that workers must have between consecutive shifts. |
OVERRIDE_MESSAGE_CODE | Message | Message that appears when the time between the end of one shift and start of the next shift is less than the defined rest period. |
Output
Name | Message Severity |
---|---|
OUT_MSG | Specify whether the output message is informational, warning, or error |
Example
Scenario: The rule parameter REST_PERIOD_IN_MINUTES has the value 30 minutes.
Day | Payroll Time Type | Reported Time | Output |
---|---|---|---|
Mon | Regular |
8a to 1p 1:15p to 6p |
The message appears because the rest period is less than 30 minutes |
Tue | Regular |
8a to 1p 1:30p to 6p |
No message appears because the rest period equals the minimum required 30 minutes |
Thu | Regular |
8a to 1p 2p to 6p |
No message appears because the rest period exceeds the minimum required 30 minutes |