Skip to main content

%SYS.Task.PurgeAudit

Class %SYS.Task.PurgeAudit Extends %SYS.Task.Definition [ System = 4 ]

This task is schedule to run daily after the journal switch (by default At Midnight) The default purge is 2 months (62 days) but can be changed by setting KeepDays to another value in the System Managment Portal.

Parameters

TaskName

Parameter TaskName = "PurgeAudit";

Properties

KeepDays

Property KeepDays As %Integer [ InitialExpression = 62 ];

Default purge of 2 months

Methods

KeepDaysIsValid

ClassMethod KeepDaysIsValid(KeepDays As %Integer) As %Status

Validate KeepDays value

OnTask

Method OnTask() As %Status

Default purge code