Skip to main content


class %SYS.Task.CleanSourceJournal extends %SYS.Task.Definition

This task removes entries in the source journal global that are older than the configured value.
It is normally run nightly.

Property Inventory

Method Inventory


parameter TaskName = CleanSourceJournal;
Inherited description: This defines the user-visible name of this task. It is defined in the subclasses.


property KeepDays as %Integer [ InitialExpression = 60 ];
Default purge of 2 months
Property methods: KeepDaysDisplayToLogical(), KeepDaysGet(), KeepDaysLogicalToDisplay(), KeepDaysNormalize(), KeepDaysSet()


classmethod KeepDaysIsValid(KeepDays As %Integer) as %Status
Validate KeepDays value
method OnTask() as %Status
This method is responsible for executing the task.
At the scheduled time, the Task Manager creates an instance of this object, sets any property values using the stored "settings" for the task, and then invokes this method to execute the task.

Inherited Members

Inherited Properties

Inherited Methods

FeedbackOpens in a new tab