Hi Stephan,
There is a cleanup batch job for document routing history that is enabled by default and runs daily. This batch job purges document routing history older than 7 days. This history is intended to be used by the customer for troubleshooting or traceability if there are issues with printing. Depending on how you intend to access this historical data, you should be able to reduce the retention period from the default value of 7 days, which is considered an upper limit.
Having fewer records in this table will ensure that printing has optimal performance. You can configure and verify the records at this at
https://[host_adress]/?mi=DocumentRoutingHistoryCleanupConfig.
Source:
docs.microsoft.com/.../install-document-routing-agent
Please mark the answer as verified, if it resolves your issue.
Thanks,
Inferifi