Configuring swipe actions
You can modify the clock.xml file to allow employees
to complete multiple labor metric actions in a single swipe.
For example, you can configure the clock so employees can select a job and a department when they clock in. After the employee enters their badge number they are shown first a list of available jobs and then a list of departments. After making their selections, the employee selects
to finish clocking in.In clock.xml, the additional actions are configured by
adding <sub-item>
nodes to an item in the toolbar. This example adds
options for an employee to select a project or a docket when they clock in.
<toolbar mode="EMPLOYEE" >
<item order="1" action="IN">
<sub-item order="1" action="PROJECT_CHANGE"/>
<sub-item order="2" action="DOCKET_CHANGE"/>
</item>
...
The <item>
node specified the main swipe, which can be an in or out swipe
or a labor metric change.
These are the supported labor metric actions for the sub-items:
- DEPARTMENT_CHANGE
- DOCKET_CHANGE
- JOB_CHANGE
- PROJECT_CHANGE
- TIMECODE_CHANGE