On this page
Device jobs
Purpose
Every piece of work sent to the device agent is a job: printing a receipt, a document or labels, opening the cash drawer, showing something on the customer display, reading the scale, taking a card payment, or checking the scan folder. This screen shows jobs and their status, and lets you resend failed jobs and cancel pending ones.
How to get there
- From the menu: Devices → Device jobs.
- The address is
/device/jobs.
Permissions
| Action | Key |
|---|---|
| View | device.device_job.view |
| Queue again and Cancel job | device.device_job.manage |
Fields
Filter by Status, Job and Agent (All by default). The list's columns are Created, Agent, Job, Status, Attempts, Source and Error. The list refreshes every 3 seconds while it contains open jobs.
Select any job to see when it was Sent, Received and Finished, the Next attempt, the Idempotency key, the failure reason, and the Result (such as the weight read).
Statuses
| Status | Meaning |
|---|---|
| Queued | Waiting for the agent to connect, or for the next attempt |
| Sent to agent | Sent, but the agent hasn't confirmed receiving it yet |
| Received by agent | The agent has logged it and is working on it |
| Done | Carried out successfully |
| Failed | Failed after all attempts were used up |
| Expired | Didn't reach the agent within 24 hours |
| Cancelled | Cancelled by a user, or the agent was revoked |
Business rules
- Print jobs are retried automatically up to 3 times, at increasing intervals (5 seconds, then 10, then 20, and so on, up to 5 minutes). Opening the drawer, payment, scale readings and the customer display get one attempt only (DA13).
- A job the agent hasn't confirmed within two minutes goes back to the queue. When the agent reconnects, its pending jobs are sent again with the same key, and the agent never carries out the same key twice.
- If the computer fails during printing, the print is repeated (a duplicate receipt is better than a missing one). Opening the drawer and payment are never repeated automatically (DA13).
- If a job doesn't name an agent, the system picks the only agent in the user's branch that has the device enabled. If there's none, it uses browser printing where possible. If there's more than one, you're asked to choose the agent (DA9).
- A scale reading waits up to 10 seconds for the result, and a payment up to two minutes (DA8).
- A job's content is deleted 30 days after it finishes, and its status is kept. PDF files are sent to the agent through a temporary link valid for 10 minutes (DA5).
- If a job fails, the user who created it gets an alert.
- Fixed asset labels and item barcode labels arrive here as Label print jobs (DA3).
Common error messages
| Message | Fix |
|---|---|
| The device is not set up on this PC. | Enable the device in Device settings for the branch or workstation |
| The device is off or not connected. | Turn the device on and check the cable or network address |
| The printer is out of paper. | Load paper, then select Queue again |
| The agent version is too old; update it first. | See Agent updates |
| The job cannot be changed in its current status. | Only failed or expired jobs whose content hasn't been deleted can be resent, and only jobs the agent hasn't received yet can be cancelled |