Skip to main content

Workflow Reporting

Summary​

Workflow provides definition summaries, one instance view, caller pending tasks, health counts, audit/timeline feeds and an outbox projection. No dedicated business report endpoint exists.

Business Purpose​

Support basic operational visibility into definitions and outstanding work.

Actors​

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

Business Flow​

Portal administration lists definitions and current pending tasks. The cross-module Operations dashboard derives Workflow indicators from the same caller-task source.

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​

Task query returns Pending only and is caller-scoped. Audit/timeline/outbox take values are bounded by the query implementation.

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 approval-cycle time, bottleneck, aging, volume, rejection reason, delegation, SLA or compliance report was found. Dashboard labels for completed/delegated/rejected cannot be populated from a Pending-only source.

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/Application/Queries/WorkflowQueries.cs
  • microservices/src/workflow-service/Api/WorkflowEndpoints.cs
  • UI/salary-ui/apps/client-hrms-portal/src/dashboard/DashboardPages.tsx
  • UI/salary-ui/apps/client-hrms-portal/src/dashboard/dashboardApi.ts

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.