Swiping process

The swiping process is as follows:

  1. When an actual swipe is recorded using the HTML Clock, the swipe is initially stored in the journal with a “hold” flag on its record. The service responsible for retrieving journal entries for import and processing into the application has been updated to exclude those journal entries currently on hold. This ensures that only “unheld” swipes will be interfaced into the application for processing.
  2. When an employee has scheduled swipes to address, the scheduled swipe process begins. An employee must confirm/correct all eligible scheduled swipe records before successfully recording their initiating swipe activity.

    If the employee fails to confirm/correct all of the scheduled swipes presented to them, the confirmed/corrected swipes are generated as unheld swipes and processed by the application as real swipes. All unaddressed scheduled swipes will continue to exist and be presented to the employee as per the existing logic.

    See Deciding whether to display or hide scheduled swipe records).

    The actual swipe the employee performed as the initiating event remains in a held state because the employee has not “cleared” their scheduled swipes. Thus, the employee is not permitted to record their swipe.

  3. After the employee has successfully cleared their scheduled swipes, the HTML Clock retrieves the most recent journal entry for that employee with a “hold” status. The clock then checks whether the initiating swipe was a Meal Start or an OFF. If so, the timestamp of the journal entry is updated to the current time. This ensures that any duration of time the employee has spent confirming/correcting their scheduled swipes is accurately counted as work time for the employee. For example, if an employee swipes OFF at 18:00 and spends 3 minutes confirming/correcting outstanding scheduled swipes, the OFF swipe timestamp is updated to 18:03.
  4. The hold is then removed from the journal entry for the initiating swipe, making it eligible for import and processing.
  5. Lastly, the employee is presented with a message confirming their swipe, along with the final time associated with the journal entry.