Creating Clock Rules

To create clock rules:

  1. Select Maintenance > Schedule Compliance > Clock Rules Setup.
  2. Click Create New Entry.

    The Clock Rules Setup Details page is displayed.

  3. Complete the following general fields:
    Schedule Compliance Rule

    Name the clock rule in this field.

    Required.

    SC Rule Description

    Describe the clock rule in this field.

    Enabled

    Select this check box to activate the rule.

    Infor recommends activating the rule after all of the configuration is complete.

    Sc Class

    This field contains the Java class used for the clock rule. All core clock rules use the following class:

    com.workbrain.app.modules.scheduleconstraints.ScheduleConstraint

    If you develop a custom class and then add a custom rule, you can enter the custom class in this field.

  4. The rest of the clock rule configuration depends on the clock rule(s) you are defining:
    • Unscheduled Clock rule
    • Failed to Clock Out Alert rule
    Failed to clock out alert - Active Select this check box to activate the Failed to Clock Out alert.
    Failed to clock out alert - Msg Specify the message you want to send to the supervisor when an employee fails to clock out at the end of the shift.
    # minutes after end of shift Specify the number of minutes beyond the shift end time after which an alert should be sent to an employee's supervisor if the employee has not clocked out.
    Priority Specify the order in which you want this rule to run (from 0 to 999).
    Rule Type All clock rules create errors when violated; set as Error or leave blank.

    Minimum Length of Break Rule

    Min Length of Break - Active Select this check box to activate the Minimum Length of Break rule.
    Min Length of Break - Msg Specify the message you want to send to the supervisor when an employee attempts to clock in before the minimum amount of break time, in minutes, has passed.
    Min Length of Break in minutes Specify the minimum number of minutes before an employee on break can return to work. If the employee attempts to clock in before the minimum number of break minutes pass, a message is sent to the employee's supervisor.
    Priority Specify the order in which you want this rule to run (from 0 to 999).
    Rule Type All clock rules create errors when violated; set as Error or leave blank.

    Clock In Early Rule

    Clock in Early - Active Select this check box to activate the Clock In Early rule.
    Clock in Early - Msg Specify the message you want to send to the supervisor when an employee attempts to clock in earlier than the number of minutes allowed before the shift start time.
    # of minutes allowed before shift Specify the maximum number of minutes before the shift start time that an employee can clock in for work. If an employee attempts to clock in earlier than the shift start time plus this minute value, the supervisor receives a message.
    Priority Specify the order in which you want this rule to run (from 0 to 999).
    Rule Type All clock rules create errors when violated; set as Error or leave blank.
  5. Specify the clock rule filters (types of records you want to run against the clock rules):
    Rule applies to Ages from Specify the youngest employee age to which you want to apply the defined rules.
    Rule applies to Ages to Specify the oldest employee age to which you want to apply the defined rules.
    Apply on a School Day Select if you want the defined rules to only apply to employees who attend school on the current day.
    Apply to Students Select if you want the defined rules to only apply to employees who are students.
  6. Click Save. The clock rule appears on the Clock Rules Setup page. You can create additional clock rules as needed.