Skip to content

Document Dispatch Job Queue

In the Document Dispatch module, a job queue automatically takes care of tasks like sending documents, updating their status, cleaning up old attachments, and getting entries ready for dispatch. These tasks run in the background at regular times, so everything works smoothly without needing manual input. This helps keep the document workflow fast, reliable, and well-organized.

Job Queue Name Description Main Task CodeUnit Parameter
Document Dispatch – Prepare Await Entries Identifies all dispatch entries with the status "Awaiting" that have not yet been processed. Checks if entries are ready for the next dispatch step by verifying data completeness and background task completion. Updates status to "In Preparation" when ready. 5487170 PREPARE
Document Dispatch – Process Queue Entries Sends all entries marked as "Created" through their assigned dispatch channels. Collects necessary data and attachments, dispatches the documents, updates status to "Sent", and logs the result. 5487170 QUEUE
Document Dispatch – Clear Sent Queue Attachments Removes attachments from dispatch entries that have already been successfully sent. Clears BLOB fields of sent entries to reduce storage usage and maintain system efficiency. 5487170 CLEAR_SENT_QUEUE_ATTACHMENT
Document Dispatch – Automatic E-Post Letter Status Update Automatically checks and updates the status of letters sent via E-Post. Queries the E-Post system for delivery status and updates the entry accordingly (e.g., Sent, Error, Processing). 5487170 UPDATE_LETTER_STATUS
Document Dispatch - Unsent Dispatch Entry Crawler Job Queue Finds records that have not been dispatched Scans your defined tables for documents without a dispatch entry and automatically creates unsent dispatch entrie. 5487170 USDE

Setting up Document Dispatch Job Queue

Job queues can be configured individually to suit your system requirements for example, by defining the starting time, ending time, and the interval in minutes between runs.

Follow these steps to configure a specific Document Dispatch job queue:

  1. Start as Document Dispatch Admin in the Role Center.
  2. Open the Job Queue Entries via the search or by scrolling down to the Job Queue Entries section.
  3. Click on the three dots and select Edit or View to open the Job Queue Entry Card.
  4. To edit the job queue, set it On Hold first.
  5. In the Recurrence Section, you can:
  6. Configure a start and end time for when the job queue should begin and end processing the dispatch entries.
  7. Configure the number of minutes between runs to define the interval at which the job queue will execute.

Setting up Document Dispatch Default Job Queue

It is possible to create default job queues for document dispatch. These queues define how dispatch tasks are processed automatically in the background, ensuring efficient and reliable handling

Follow these steps to create Default Document Dispatch Job Queues:

  1. Start as Document Dispatch Admin in the Role Center.
  2. Navigate to the Job Queue Entries section by scrolling down.
  3. Click Job Queue Entries and select the action Create Default Entries.

See also