Skip to main content

Workflow Project Structure

Summary​

Workflow Service is one SDK-style web project included in the microservices solution and targeting .NET 8.

Verified structure​

AreaResponsibility
ApiMinimal endpoint mapping, application-result translation and policy catalog
ApplicationInputs/DTOs, mappings, commands, queries, ports and result helpers
DomainAggregates, entities, enums, repository contracts and domain events
InfrastructureEF Core context, repositories, tenant adapter, writers, unit of work, migrations and development seed
MessagingIntegration-event contracts and hosted outbox relay
Program.csRuntime composition and middleware
Project filesFramework, packages, configuration shape and container build

Dependencies​

The project references the shared kernel and contracts. Package references cover JWT bearer authentication, EF Core, the PostgreSQL provider, OpenAPI and Swagger generation.

Frontend boundary​

The portal source is a separate application. It uses shared API transport and does not share Workflow domain assemblies.

Limitations​

There are no Workflow-specific test projects, separate application assemblies or independently deployable engine workers.

Requires Confirmation​

Assembly-splitting plans, package ownership and future engine extensibility require confirmation.

Source References​

  • microservices/src/workflow-service/workflow-service.csproj
  • microservices/HrSuit.Microservices.sln
  • microservices/src/workflow-service/Program.cs

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