Skip to main content

Audit Trail archiving exceptions

Why some Audit Trail records are not archived by the Audit Trail Archiver service.

C
Written by Connor Baeza

Summary

Some Audit Trail records may remain in the system and not be archived. This article explains the conditions under which this happens.


Issue

You may notice that certain Audit Trail records are not being archived as expected.


Cause

The Audit Trail Archiver service will not archive any Audit Trail record that has a linked entry in the AuditTrailClinicalRecordReason table.

When this link exists, the record stays in the main AuditTrail table.


Expected behaviour

Only a small number of Audit Trail records typically meet this condition, so the impact is limited.

No action is required. This behaviour is by design to ensure data linked to clinical record reasons remains available.

Did this answer your question?