Skip to main content

Workflow Event Overview

Summary

WorkflowInstance owns all verified domain-event creation. Infrastructure maps each supported domain type to one Workflow-local integration contract; shared-kernel messaging persists and relays it.

Event ownership

Domain event types live in Workflow Domain. Integration records live in Workflow Messaging rather than the shared contracts project. The common IntegrationEvent base and transport/outbox abstractions live in shared projects.

Lifecycle scope

Events cover instance start, task creation, task approval, task rejection, instance completion and instance rejection. Definition authoring/publication and task delegation emit no domain or integration event.

Runtime maturity

Outbox persistence and hosted relay registration are implemented. Consumers, notification mapping and terminal callback dispatch are not implemented in verified Workflow runtime.

Compatibility

No legacy Workflow event contract, translation adapter or compatibility event prefix was found.

Requires Confirmation

Contract ownership, downstream subscribers, compatibility policy and production enablement require confirmation.

Source References

  • microservices/src/workflow-service/Domain/Workflow/WorkflowDomainEvents.cs
  • microservices/src/workflow-service/Messaging/WorkflowIntegrationEvents.cs
  • microservices/src/workflow-service/Program.cs

See Also

Keywords

Workflow events, integration contracts, transactional outbox.

Revision Information

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