Consecutive types validation

The consecutive types validation disallows similar clock punches within a defined interval. This validation uses some unique conditions, which require additional configuration.

Depending on your system configuration, you will use either a reader configuration in WFM or the settings.conf file on the server to configure validations.

See Configuring the clock.

Reader configurations

If you are using reader configurations, use these configuration properties to configure the consecutive types validation.

See Using reader configurations.

validation.consecutive_types.enable
Enables the consecutive types validation.
validation.consecutive_types.length_in_minutes
Minimum number of minutes required between two swipes. If you specify 0, consecutive swipes of the same type are not allowed.
validation.consecutive_types.type
Specify the swipe types that trigger the validation.
validation.consecutive_types.swipe_compare
Defines which attribute of the clock punches are compared to determine if the punches are duplicates. This property accepts these values:
  • TYPE: Compares the swipe type of each clock punch.
  • TCode: Can be used to prevent an employee from changing a time code within a certain time.
  • SUPERVISOR: Compares the supervisor badge and prevents the same supervisor from executing a punch for the employee based on another condition.
  • DATE: Compares the date part of the swipe time.
  • TIME: Compares the time part of the swipe time.

Settings.conf

If you are not using reader configurations, use these properties in settings.conf to configure the consecutive types validation.

com.infor.wfm.clock.server.validation.ConsecutiveTypesValidation.length
Minimum number of minutes required between two swipes. If you specify 0, consecutive swipes of the same type are not allowed.
com.infor.wfm.clock.server.validation.ConsecutiveTypesValidation.swipeCompare
Defines which attribute of the clock punches are compared to determine if the punches are duplicates.
com.infor.wfm.clock.server.validation.ConsecutiveTypesValidation.type
Specify the swipe types that trigger the validation.