Skip to main content

Workflow Business Integrations

Summary

Leave, Expense, Asset, Performance and Recruitment services contain feature-gated typed clients that start and read Workflow instances. Their switches default off.

Business Purpose

Allow business modules to reuse Workflow approval decisions while retaining ownership of their records.

Actors

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

Business Flow

ModuleStart/read clientWorkflow subjectTerminal callback endpointVerified maturity
LeaveImplemented, feature-gatedLeave requestImplemented in LeavePartial
ExpenseImplemented, feature-gatedExpense claimImplemented in ExpensePartial
AssetImplemented, feature-gatedAsset requestImplemented in AssetPartial
PerformanceImplemented, feature-gatedAppraisalImplemented in PerformancePartial
RecruitmentImplemented, feature-gatedRequisitionImplemented in RecruitmentPartial
NotificationNo Workflow event mappingNot applicableNoneNot implemented
Helpdesk, Payroll, Document, Employee/OrganizationNo Workflow client foundNot applicableNoneNot implemented

Workflow Service publishes six lifecycle integration-event types through its hosted outbox relay.

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

Initiating services forward tenant/identity context and can fall back to a null client when disabled. Workflow starts only published keys.

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

Workflow Service does not call the module callback endpoints, and no verified event consumer bridges terminal events to them. End-to-end source-record completion is therefore incomplete. Gateway Workflow routing was not 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/leave-service/Infrastructure/WorkflowServiceClient.cs
  • microservices/src/expense-service/Infrastructure/WorkflowServiceClient.cs
  • microservices/src/asset-service/Infrastructure/WorkflowServiceClient.cs
  • microservices/src/performance-service/Infrastructure/WorkflowServiceClient.cs
  • microservices/src/recruitment-service/Infrastructure/WorkflowServiceClient.cs
  • microservices/src/workflow-service/Messaging/OutboxRelayHostedService.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.