Workflow Technical Source Map
Summary
This map links technical concerns to authoritative implementation files inspected for this epic.
Source inventory
| Concern | Verified source |
|---|---|
| Runtime composition and middleware | microservices/src/workflow-service/Program.cs |
| Endpoint composition and result mapping | microservices/src/workflow-service/Api/WorkflowEndpoints.cs, Api/EndpointResults.cs |
| Authorization policy catalog | microservices/src/workflow-service/Api/Policies.cs |
| Application ports and results | microservices/src/workflow-service/Application/Common/Abstractions.cs, Application/Common/Cqrs.cs |
| Definition commands | microservices/src/workflow-service/Application/Commands/WorkflowDefinitionCommands.cs |
| Engine and instance commands | microservices/src/workflow-service/Application/Commands/WorkflowInstanceCommands.cs |
| Queries | microservices/src/workflow-service/Application/Queries/WorkflowQueries.cs |
| DTOs and mappings | microservices/src/workflow-service/Application/Dtos.cs, Application/Mappings.cs |
| Definition/version/step/condition model | microservices/src/workflow-service/Domain/Workflow/WorkflowDefinition.cs |
| Instance/task/action model | microservices/src/workflow-service/Domain/Workflow/WorkflowInstance.cs |
| States and domain events | microservices/src/workflow-service/Domain/Common/Enums.cs, Domain/Workflow/WorkflowDomainEvents.cs |
| Repository contracts | microservices/src/workflow-service/Domain/Repositories.cs |
| EF Core mappings and event-to-outbox translation | microservices/src/workflow-service/Infrastructure/WorkflowDbContext.cs |
| Repositories, tenant and writer adapters | microservices/src/workflow-service/Infrastructure/Persistence.cs |
| Relay and integration-event records | microservices/src/workflow-service/Messaging/OutboxRelayHostedService.cs, Messaging/WorkflowIntegrationEvents.cs |
| Shared observability | microservices/src/shared-kernel/Extensions/ObservabilityExtensions.cs |
| Portal boundary | UI/salary-ui/apps/client-hrms-portal/src/pages/admin/OperationsAdminPages.tsx |
| Gateway absence check | microservices/src/gateway-api/Program.cs |
| Smoke coverage | microservices/scripts/smoke-workflow.ps1, microservices/scripts/run-v1-regression.ps1 |
Evidence boundary
Static backend and frontend source was read. No APIs, databases, runtime configuration or deployed topology were inspected.
Classification
Canonical service behavior is implemented. Gateway ownership, endpoint authorization, terminal integration and automated test depth are Transitional, Partial, Foundation, Not implemented or Requires confirmation as described in the linked pages.
Requires Confirmation
Production topology, effective configuration, consumers, retention, operational procedures and remediation priorities require confirmation.
Source References
microservices/src/workflow-service/Program.csmicroservices/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.csmicroservices/scripts/smoke-workflow.ps1
Related Articles
See Also
Keywords
Workflow architecture, approval engine, Workflow Service, technical foundation.
Revision Information
- Status: Draft
- Last reviewed: 2026-07-20
- Next review: 2026-10-20