Workflow Business Source Map
Summary
This map identifies the authoritative source for Workflow business capabilities and verified adjacent integrations.
Business Purpose
Give reviewers a reproducible route from documented claims to implementation evidence.
Actors
Workflow authors, approvers, delegates, process initiators, tenant administrators, product owners, support teams and owners of connected business modules.
Business Flow
| Concern | Source path |
|---|---|
| Definition/version model | microservices/src/workflow-service/Domain/Workflow/WorkflowDefinition.cs |
| Instance/task/action model | microservices/src/workflow-service/Domain/Workflow/WorkflowInstance.cs |
| States and approver types | microservices/src/workflow-service/Domain/Common/Enums.cs |
| Definition commands | microservices/src/workflow-service/Application/Commands/WorkflowDefinitionCommands.cs |
| Approval engine | microservices/src/workflow-service/Application/Commands/WorkflowInstanceCommands.cs |
| Worklist/reporting queries | microservices/src/workflow-service/Application/Queries/WorkflowQueries.cs |
| Public inputs/outputs | microservices/src/workflow-service/Application/Dtos.cs |
| Endpoints/access foundation | microservices/src/workflow-service/Api/WorkflowEndpoints.cs and Policies.cs |
| Tenant/audit/outbox persistence | microservices/src/workflow-service/Infrastructure/WorkflowDbContext.cs and Persistence.cs |
| Development workflows | microservices/src/workflow-service/Infrastructure/DevelopmentSeeder.cs |
| Lifecycle events/relay | microservices/src/workflow-service/Messaging/WorkflowIntegrationEvents.cs and OutboxRelayHostedService.cs |
| Portal | UI/salary-ui/apps/client-hrms-portal/src/pages/admin/OperationsAdminPages.tsx |
| Navigation | UI/salary-ui/apps/client-hrms-portal/src/components/AppLayout.tsx |
| Adjacent clients | Leave, Expense, Asset, Performance and Recruitment WorkflowServiceClient.cs files |
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 static source was inspected. Repository-relative source references are the review boundary.
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
No runtime configuration, database content, effective route deployment or consumer topology was verified.
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/WorkflowDefinition.csmicroservices/src/workflow-service/Domain/Workflow/WorkflowInstance.csmicroservices/src/workflow-service/Application/Commands/WorkflowInstanceCommands.csmicroservices/src/workflow-service/Infrastructure/WorkflowDbContext.csUI/salary-ui/apps/client-hrms-portal/src/pages/admin/OperationsAdminPages.tsx
Related Articles
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.