Workflow Database Retention
Summary
No Workflow retention policy, cleanup job, archival process, partitioning policy or purge command was found.
Affected storage
Definitions/versions, instances/tasks/actions, audit, timeline, processed events and processed/failed outbox records can remain stored indefinitely based on reviewed code.
Hosted-service boundary
The outbox relay processes message status but does not delete old records. No other Workflow background service performs cleanup.
Classification
Retention is Not implemented in the reviewed Workflow service.
Recommended direction
Retention periods, legal/audit holds, outbox cleanup, archive exports and safe deletion are recommended subjects for governance; they are not implemented capabilities.
Requires Confirmation
Required retention periods, ownership, archival destinations, recovery expectations and deletion approval require confirmation.
Source References
microservices/src/workflow-service/Infrastructure/WorkflowDbContext.csmicroservices/src/workflow-service/Messaging/OutboxRelayHostedService.csmicroservices/src/workflow-service/Program.cs
Related Articles
See Also
Keywords
Workflow database, EF Core, Workflow schema.
Revision Information
- Status: Draft
- Last reviewed: 2026-07-20
- Next review: 2026-10-20