Checking clock tokens using a pay rule condition

From within the Quick Rule Editor, you can use the Exists Clock Token Condition to check if a clock punch exists that has a specific token and value combination as the result of a survey response. The token is configured in the Survey Prompt Setup maintenance form for the prompt.

For example, when an ON clock is recorded by an employee prompted with the wellness check, the clock includes an extra WELLNESS_CHECK_CONFIRM token along with the associated choice that was made by the employee. If the employee responds to the survey by clicking the "Yes" button, WELLNESS_CHECK_CONFIRM=Y is appended to the clock data. If the employee responds to the survey by clicking the "No" button, WELLNESS_CHECK_CONFIRM=N is appended to the clock data. You can configure the Exists Clock Token Condition to check for the presence of the WELLNESS_CHECK_CONFIRM token with the associated Y or N value.

Example: Trigger the Meal Confirmation Pay Rule based on responses to a survey

In this example, the Meal Confirmation Pay Rule is triggered any time an employee has indicated through a survey that meals were not taken for business reasons. The token NO_MEAL was configured for a prompt in the survey.

Exists Clock Token Condition:

Parameter Value
TokenName NO_MEAL
Value Business
Occurrences 1
Operator =
Original or Actual Original

The condition evaluates to true if the original clock contains NO_MEAL=Business. Otherwise, the condition evaluates to false.

Meal Confirmation Pay Rule:

If the preceding condition evaluates to true, this rule removes the employee's meal break.

Parameter Value
Change From MEAL
Change to Time Code WRK
Change to Hour Type REG
Reset Type Previous Off Clock

See "Pay Rules and the Quick Rule Editor" in the Infor Workforce Management Time and Attendance Implementation and Administration Guide.