Evaluate Events Imported from Time Collection Devices
The WFM_TDR_VALIDATE_SUPPLIER_EVENT_AP formula, which uses array processing, is associated with the delivered Validate Time Event Template rule template.
The fast formula evaluates events imported from time collection devices to identify the specified events that the device automatically generated. If the event is one of up to three specified automatically generated events, a message appears. If no message is defined, the default message appears. The message severity is an output value associated with the displayed message.
Parameters
| Name | Type | Description |
|---|---|---|
| WORKED_TIME_CONDITION | Time category | Time category that identifies the time entries made of the events to compare with the specified automatically generated event. |
| SUPPLIER_EVENT_OUT_EXCEPTION_1 | Fixed text | First automatically generated time event to identify. |
| SUPPLIER_EVENT_OUT_EXCEPTION_2 | Fixed text | Optional second automatically generated time event to identify. |
| SUPPLIER_EVENT_OUT_EXCEPTION_3 | Fixed text | Optional third automatically generated time event to identify. |
| OVERRIDE_MESSAGE_CODE | Message | Message that appears when the reported duration is shorter than the scheduled duration. |
Output
| Name | Message Severity |
|---|---|
| OUT_MSG | Specify whether the output message is informational, warning, or error |
Function
This formula compares the SupplierEventOut attribute to the input parameters SUPPLIER_EVENT_OUT_EXCEPTION_1, SUPPLIER_EVENT_OUT_EXCEPTION_2, and SUPPLIER_EVENT_OUT_EXCEPTION_3. If the SupplierEventOut attribute matches any of the parameter values, it generates a message.
Example
Scenario: You create a rule with your template where SUPPLIER_EVENT_OUT_EXCEPTION_1 is AUTO_CHECK_OUT.
| Day | Payroll Time Type | Reported Event Time | Output |
|---|---|---|---|
| Mon | Check In | 8a | None |
| AUTO_CHECK_OUT | 5p | The rule message for the message severity appears. | |
| Tue | Check In | 8a | None |
| Check Out | 4p | None | |
| Wed | Check In | 10a | None |
| Check Out | 5p | None |