JQ IQ Cleanup
This codeunit is used to schedule a cleanup in the Integration Queue History.
You must specify which integration to cleanup by setting the code of the Integration Setup in the "Parameter String" field on the "Job Queue Entry" record.
The Integration Queue History entries for the specified integration are deleted according to the "Save History (weeks)" setting on the Integration Setup.
Please Note: Instead of using this codeunit, you can configure cleanup using the page Retention Policies. That is considered the preferred way moving forward. This codeunit may be removed in a future version. Retention Policy also supports cleanup, without specifying "Integration Setup Code".
Object Definition
Object Type | Codeunit |
Object ID | 70314088 |
Object Name | QWESR JQ IQ Cleanup |
Table No. | Job Queue Entry |
Example
Cleanup Integration INT01
"Parameter String" = INT01
"Save History (weeks)" = 10
Integration Queue History entries with the "Integration Setup Code" INT01 and where "Created" is older than 10 weeks is deleted.
This documentation is generated from Spider v27.0