Skip to main content

Workflow Timeline vs Events

Summary

Audit, timeline, domain events and integration events are separate artifacts with different audiences and lifecycles. They must not be treated as interchangeable records.

ArtifactPurposeTypical dataDelivery/lifetime
Audit recordCompliance and support evidenceActor, action, entity and detailsPersisted query record
Timeline entryHuman-readable activity feedCategory, actor, description and metadataPersisted query record
Domain eventAggregate state-change intentStrongly typed workflow/task factsIn-memory until save maps and clears it
Integration eventExternal message contractEnvelope plus workflow/task payloadSerialized into outbox for relay

Requires Confirmation

Retention, redaction, replay and user-facing wording policies for each record family require confirmation.

Source References

  • microservices/src/workflow-service/Domain/Workflow/WorkflowInstance.cs
  • microservices/src/workflow-service/Infrastructure/WorkflowDbContext.cs
  • microservices/src/workflow-service/Infrastructure/Persistence.cs
  • microservices/src/workflow-service/Messaging/WorkflowIntegrationEvents.cs

See Also

Keywords

Workflow timeline, audit, domain events, integration events.

Revision Information

  • Status: Draft
  • Last reviewed: 2026-07-20
  • Next review: 2026-10-20