Swipe types for swipe and go

If the clock is configured for swipe and go, you can modify the clock.xml file to change the swipe type that is triggered by a badge swipe.

The <swipe-and-go> node in clock.xml can be used to configure swipe actions for swipe and go. The action attribute on the <swipe-and-go> node specifies the action to take.

This example shows how to configure a single labor metric selection. In this case the department will change to ACCOUNTING:

<swipe-and-go action="DEPARTMENT_CHANGE" data="ACCOUNTING"/>

You can add a child <extra-data> node to the <swipe-and-go> node to configure additional actions. In this example the department will change to ACCOUNTING and the job will change to CLERK:

<swipe-and-go action="DEPARTMENT_CHANGE" data="ACCOUNTING">
<extra-data action="JOB_CHANGE" data="CLERK"/>
</swipe-and-go>

This example shows how to combine an IN swipe with a job change:

<swipe-and-go action="IN">
<extra-data action="JOB_CHANGE" data="CLERK"/>
</swipe-and-go>

This example shows how to combine a directionless swipe with a job change:

<swipe-and-go>
<extra-data action="JOB_CHANGE" data="CLERK"/>
</swipe-and-go>

These swipe actions are supported for the <swipe-and-go> node:

  • IN
  • OUT
  • Directionless
  • Labor metric changes
  • Start meal or break
  • End meal or break