You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: support/dynamics-365/supply-chain/warehousing/clear-document-rounting-agent-printing-queue.md
+20-8Lines changed: 20 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,8 +1,12 @@
1
1
---
2
2
title: Many Printing Jobs Are Queued in Document Routing Agent
3
+
4
+
3
5
description: Provides resolutions on how to clear the printing queue within the Document Routing Agent (DRA) in Microsoft Dynamics 365 Supply Chain Management.
4
-
author: Mirzaab
5
-
ms.date: 02/24/2025
6
+
ms.date: 02/25/2025
7
+
8
+
ms.date: 02/24/2025
9
+
6
10
# ms.search.form:
7
11
audience: Application User
8
12
ms.reviewer: kamaybac, ivanma
@@ -25,24 +29,32 @@ You might notice that many printing jobs are queued in the [Document Routing Age
25
29
Starting from [Dynamics 365 for Finance and Operations platform update 23](/dynamics365/fin-ops-core/dev-itpro/get-started/whats-new-platform-update-23#manage-access-to-network-printers-across-legal-entities), you can manually clear the printing queue for a specific printer by deleting it from the **System network printers** page. This action removes all pending documents for that printer. Follow these steps to delete and re-register the printer from the DRA client:
26
30
27
31
1. Navigate to the **Manage Network Printers** page by selecting **Organization administration** > **Setup** > **Network printers**.
28
-
2. Expand the **Options** menu and select the **System network printers** button in the **Preview** section.
29
-
3. Select the network printer and select the **Delete** button.
30
32
4. After deletion, pending printing jobs remain in the document routing status list for auditing purposes. However, the actual printing queue is already cleared for that printer.
33
+
34
+
3. Select the network printer and select the **Delete** button.
35
+
4. After deletion, pending printing jobs remain in the document routing status list for auditing purposes. However, the actual printing queue is already cleared for that printer.
36
+
31
37
5.[Re-register the same printer from the DRA client](/dynamics365/fin-ops-core/dev-itpro/analytics/install-document-routing-agent#register-network-printers), and try to print some documents.
32
38
33
39
> [!NOTE]
34
40
>
35
41
> - Except for the first document, the rest should be printed responsively. The first document might be slow due to a one-time 3-minute cache refresh interval after a new printer is registered.
36
42
> - If the same printer name is used again, there is no need to set up the document routing again.
37
43
> - If a new printer name is used, you should set up the document routing with the new printer name for all relevant work order types. For more information, see [Set up license plate label routing](/dynamics365/supply-chain/warehousing/print-license-plate-labels-using-label-layouts#routing).
38
-
44
+
The [Document routing history cleanup](/dynamics365/fin-ops-core/dev-itpro/analytics/install-document-routing-agent#adjust-the-document-routing-history-cleanup-batch-job) batch job can be used to delete all the document routing jobs older than seven days (168 hours). By default, this batch job runs daily and is first created when a document is sent to the DRA.
39
45
## Solution 2 - Clean up printing queue and job status for all printers
46
+
40
47
41
-
The [Document routing history cleanup](/dynamics365/fin-ops-core/dev-itpro/analytics/install-document-routing-agent#adjust-the-document-routing-history-cleanup-batch-job) batch job can be used to delete all the document routing jobs older than seven days (168 hours). By default, this batch job runs daily and is first created when a document is sent to the DRA.
48
+
The [Document routing history cleanup](/dynamics365/fin-ops-core/dev-itpro/analytics/install-document-routing-agent#adjust-the-document-routing-history-cleanup-batch-job) batch job can be used to delete all the document routing jobs older than seven days (168 hours). By default, this batch job runs daily and is first created when a document is sent to the DRA.
49
+
1. Change the document routing job history retention period length from seven days to one hour to delete all printing jobs older than one hour.
50
+
42
51
43
52
Follow these steps to use the **Document routing history cleanup** batch job:
53
+
4. Restore the retention period from one hour to seven days.
54
+
55
+
1. Change the document routing job history retention period length from seven days to one hour to delete all printing jobs older than one hour.
44
56
45
-
1. Change the document routing job history retention period length from seven days to one hour to delete all printing jobs older than one hour.
46
57
2. Copy the **Document routing history cleanup** batch job to a new batch job, and then update the copied batch job recurrence to run immediately.
47
58
3. Wait for the copied batch to complete, and then delete the copied batch job.
48
-
4. Restore the retention period from one hour to seven days.
59
+
4. Restore the retention period from one hour to seven days.
0 commit comments