Skip to main content

Workflow Task Events

Summary

Task events cover creation, approval and rejection. No event exists for delegation, reassignment, skipped stages or task cancellation.

Creation

Opening a stage creates one task and queues one task-created event per step. Same-order tasks therefore generate multiple events in aggregate iteration order.

Approval

Each successful Pending-to-Approved transition queues one task-approved event, whether or not it completes the stage.

Rejection

The rejected task queues one task-rejected event followed by the instance-level rejected event.

Payload boundary

Task events carry assignment or decision context appropriate to their transition; the completed instance event does not list task details.

Requires Confirmation

Delegation/reassignment notification needs, sibling-task state events and skipped-stage visibility require confirmation.

Source References

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

See Also

Keywords

Workflow events, integration contracts, transactional outbox.

Revision Information

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