CCM_CleanUpAll standard process

The CCM_CleanUpAll standard process cleans up database entries and files stored on the file system. By default, once the process is started, the cleanup is performed at 1 AM on a daily basis (see GarbageCollection and Timer).

The CCM_CleanUpAll process identifies the finished requests and stacks for which the cleanup delay is already passed. Then it removes the identified requests and their associated correspondences and communications, as well as the identified stacks and their associated envelopes, processes, and jobs. Additionally, the process immediately removes all abandoned requests, processes, envelopes and stacks, as well as their associated items. Abandoned correspondences and communications are not cleaned up directly and only removed when their requests are cleaned up.

If a stack, request or process cannot be deleted, the process does not stop. It retries the cleanup during the next cycle.