Batch activities
Batch activities are operations (for example document printing or shipping line processing) that are not executed immediately, but queued and processed in the background through the job queue.
Each activity is recorded in a queue; a job queue entry processes them one at a time. Activities completed successfully are removed from the queue, while failed ones remain visible with their error message and, if configured, are retried automatically.
Search for the Batch Activities page using the search function ("Tell me what you want to do").
The page is read-only and shows the activities still queued or ended with an error.
| Field | Description |
|---|---|
| Activity Type | Type of operation to perform (see below). |
| Source No. | Number of the document or item the activity refers to. |
| Source Entry No. | Number of the source entry, if any. |
| Date/Time | Date and time the activity was queued. |
| User ID | User who generated the activity. |
| Status | New (waiting), Processing or Error. |
| Last Error Text | Message of the last error that occurred during processing. |
| Retry Not Before | Date and time before which a failed activity is not retried. |
| Retry Count | Number of automatic retries still available. |
Depending on the active features, these types may be available:
-
Print Documents
-
Shipping Line Print Documents
-
Shipping Line Post Orders
-
Shipping Line Create Pick
-
Shipping Line Release Orders
-
A job queue entry processes, for a given activity type, all activities with status New, one at a time. While running, the status becomes Processing.
-
If processing succeeds, the activity is deleted from the queue.
-
If processing fails, the status becomes Error and the message is stored in Last Error Text.
-
The job queue entry parameters can specify the number of retries and the interval between retries (default 30 seconds). On error, the activity is automatically set back to New and retried after the interval, until no retries remain.
- Open the Batch Activities page.
- Select one or more activities with status Error.
- Choose the Reset Status action and confirm the question Reset status to new?.
- The activities return to status New, with error message and retries cleared, and will be processed at the next job queue run.
Activities with a status other than Error are not changed.