Skip to main content

Workflow Tasks & Assignment

Summary

A task is created for every step in the current applicable stage and can be assigned to a user or role.

Business Purpose

Present decision work to the intended approvers and prevent a second terminal decision on the same task.

Actors

Workflow authors, approvers, delegates, process initiators, tenant administrators, product owners, support teams and owners of connected business modules.

Business Flow

“My tasks” returns pending rows matching caller email or one caller role.

Responsibilities

Authors maintain valid draft steps before publication. Initiating modules supply a subject and routing context. Approvers act only on applicable pending tasks. Tenant and service owners govern access, integration enablement and operational support.

Business Rules

Only Pending tasks in Running instances can be acted on. User, role, Manager, HR and Admin approver types resolve to assigned-user or assigned-role fields.

Integrations

Workflow Service owns definitions, versions, instances and tasks. Connected modules can synchronously start and read instances when their integration is enabled; lifecycle domain events are persisted to an outbox and relayed as integration events.

Limitations

Decision commands do not verify that the acting caller matches the task assignment. No all-task queue, claim, due date, priority, reminder or reassignment audit detail beyond delegation was found.

Requires Confirmation

Production enablement, approver-role naming, upstream access enforcement, terminal decision propagation, notification ownership, retention and operating procedures require confirmation.

Source References

  • microservices/src/workflow-service/Domain/Workflow/WorkflowInstance.cs
  • microservices/src/workflow-service/Application/Commands/WorkflowInstanceCommands.cs
  • microservices/src/workflow-service/Application/Queries/WorkflowQueries.cs

See Also

Keywords

Workflow, approval, definition, version, task, delegation.

Revision Information

Draft source-backed business documentation reviewed on 2026-07-20; next quarterly review is 2026-10-20.