User activity purge
This purge deletes the user activity data from the system. It purges all records older than the specified retention days, and those records which have a logged out status. This purge must be single threaded when you run it in batch delete mode (BatchDelete=Y).
The following limitation is assumed when purging records:
This purge do not purge any record if the Application server goes down abruptly because the audit records of users connected to the application server at the time when the server went down cannot be updated. As a result, the last activity time or the logout time is not populated. The purge does not know whether the user has logged out or still logged in. Therefore, you need to manually delete these records.
The following are the attributes for this time-triggered transaction:
Attribute | Value |
---|---|
Base Transaction ID | USERACTIVITYPRG |
Base Document Type | None |
Base Process Type | None |
APIs Called | None |
User Exits Called | None |
Criteria parameters
The following are the criteria parameters for this transaction:
Parameter | Description |
---|---|
Action | Required. Triggers the transaction. If left blank, it defaults to Get, the only valid value. |
PurgeCode | Required. Cannot be modified. Used for internal calculations, such as determining retention days. Corresponds with the PurgeCode used in Business Rules Purge Criteria. |
Live | Optional. Mode in which to run. Valid values are:
|
CollectPendingJobs | If this parameter is set to "N", the agent does not collect information on the pending jobs for this monitor. This pending job information is used for monitoring the monitor in the System Management Console. |
Number of Records To Buffer | Required. Number of records to retrieve and process at one time. If left blank or specified as 0 (zero), it defaults to 100. |
BatchDelete | Required. The method by which all records are deleted from
the table. Valid values are:
|
ColonyID | Required in a multi schema deployment where the YFS_USER_ACTIVITY table may exist in multiple schemas. Runs the agent for the colony. |
Statistics tracked
The following statistics are tracked for this transaction:
Statistic Name | Description |
---|---|
NumStatisticsPurged | Number of statistics purged |
Pending job count
None.
Events raised
None.
Tables purged
YFS_USER_ACTIVITY