GarbageCollection component functions
The GarbageCollection component provides the following configuration functions.
Function |
Description |
---|---|
CleanUpAndAccount |
Optional. Performs these actions:
Document Packs for cover letters composed by CCM_Bundling are not cleaned up from the storage folder with the stack to which they belong, but only removed with the request of the first communication in the envelope. |
The function does not have any parameters.
Example
The following is an example of a customization of the CCM_DoCleanUp script.
Try
; Remove run-time records that belong to finished stacks and finished requests.
; Also remove abandoned items and account the completion of requests that contain abandoned items.
GarbageCollection = ModusProcess.GetComponent("GarbageCollection")
GarbageCollection.CleanUpAndAccount()
OnError()
; Garbage collection errors are never handled. Always bail out.
Raise("UnrecoverableGarbageCollectionError", Error.Message)
End-Try