Using the Simple Badge Parser

The 8000 Series clock provides a utility that allows you to parse the digits you require from a badge number that is read by the clock.

To enable this optional feature (disabled by default), you will need to make these changes in your settings.conf file for the 8000 Series clock. Lines prefixed with a # are comments and should be added as well.

You can enable this configuration via a configuration update (fileupdate) and set the appropriate values for your 8000 Series clock.

  1. Enable the Simple Badge Parser class by adding this setting to your settings.conf file. For example:
    # Simple Badge parser class
    class.badge.parser=com.infor.wfm.clock.reader.badge.SimpleBadgeParser
  2. Add these settings (with example values) just below the above settings to determine the portion of the badge number which you want to read into the WFM application.
    # Settings to determine the portion of the badge number to be read.
    simple.badge.parser.begin.index=<your_index_value>
    simple.badge.parser.end.index=<your_index_value>

    With the above settings (example only), a zero-based index is used and the ending index is exclusive.

  3. For example, you may want to read a badge number such as 123456789 and you know that only the last 6 digits represent the badge number, while the other digits are not required. To satisfy this requirement you could specify a starting index of 3 and an ending index of 9 which would read a badge number of 456789 into the WFM application:
    #Simple Badge parser class
    class.badge.parser=com.infor.wfm.clock.reader.badge.SimpleBadgeParser
    simple.badge.parser.begin.index=3
    simple.badge.parser.end.index=9