Core Platform

Configurable Workflow Platform

Every organization works differently. Delivery Hub's workflow engine is driven entirely by Custom Metadata — no code changes needed to define new workflow types, stages, or persona views. Software delivery, loan approval, support triage, or any process your team runs — configure it once in metadata and the board adapts automatically.

Key Features

Custom Metadata-Driven

Every aspect of the workflow engine is driven by Custom Metadata Types. New workflow types, stages, colors, transitions, and persona views are all defined declaratively — no Apex changes, no LWC changes, no deployment required. Subscribers configure workflows the same way they configure any other Salesforce metadata.

Built-in Workflow Types

Two workflow types ship out of the box. Software Delivery includes 37 stages covering the full SDLC — from Backlog through Development, Code Review, Testing, UAT, and Deployment. Loan Approval includes 8 stages for a simplified approval pipeline. Subscribers create their own workflow types by adding CMT records.

Stage Configuration

Each stage record defines an API value, display name, card color, header background and text colors, owner persona, phase (Planning, Development, Testing, or Deployment), and boolean flags for terminal, blocked, and attention states. Forward and backtrack transitions control exactly which stage-to-stage moves are allowed.

Persona Views

Different users see different board columns. A developer sees Dev, Code Review, and Testing. A client sees Backlog, In Progress, UAT, and Done. A project manager sees everything. All of this is configured through WorkflowPersonaView__mdt records — no code changes to show or hide columns per role.

Dynamic Kanban Board

The deliveryHubBoard LWC reads all configuration from @wire(getWorkflowConfig) at runtime. Zero hardcoded color maps, zero hardcoded column lists, zero hardcoded transition rules. Colors, columns, allowed transitions, and persona filtering are all resolved dynamically from the CMT records loaded at board initialization.

Action Center

Context-aware guidance appears on every work item. The Action Center shows what is needed to advance to the next stage — assign a developer, define acceptance criteria, complete code review — and blocks transitions when prerequisites are not met. Guidance adapts automatically based on the current stage and workflow type.

Phase Grouping

Stages are organized into phases: Planning, Development, Testing, and Deployment. Phases provide high-level progress visibility across the board and power analytics rollups. Each stage belongs to exactly one phase, and phases are displayed as visual groupings in the board header.

Three Custom Metadata Objects

The entire workflow engine is powered by three Custom Metadata Types. Together they define what workflows exist, what stages each workflow has, and what each persona sees on their board.

1

WorkflowType__mdt

Defines a workflow type

Each record represents a complete workflow definition — Software Delivery, Loan Approval, or any custom process. The WorkflowTypeTxt__c field on WorkItem__c links each work item to its workflow type. Adding a new workflow type is a single CMT record.

Examples: Software_Delivery, Loan_Approval

2

WorkflowStage__mdt

Defines stages within a workflow type

37 records for Software Delivery, 8 for Loan Approval. Each stage specifies its display name, API value, card color, header colors, owner persona, phase, sort order, and transition rules. Terminal stages end the workflow. Blocked and attention stages trigger visual indicators on the board.

Examples: Development, Code_Review, UAT, Deployed

3

WorkflowPersonaView__mdt

Controls board columns per persona

90 records for Software Delivery alone. Each record maps a persona (Developer, Client, PM, Admin) to a column name and the stages that appear in that column. Extended columns are collapsed by default. Sort order controls left-to-right column arrangement.

Examples: Developer sees Dev | Code Review | Testing

Stage Configuration

Every stage is fully configurable. Each WorkflowStage__mdt record defines these fields:

FieldDescription
API ValueUnique identifier used in Apex and LWC (e.g., Development, Code_Review)
Display NameHuman-readable label shown on the board column header
Card ColorBackground color for work item cards in this stage
Header Bg ColorColumn header background color
Header Text ColorColumn header text color
Owner PersonaWhich persona owns work in this stage (Developer, Client, PM)
PhasePlanning, Development, Testing, or Deployment
Is TerminalStage ends the workflow (e.g., Deployed, Cancelled)
Is Blocked StateTriggers blocked visual indicator on the board
Is Attention StateTriggers attention dot and urgency scoring
Forward TransitionsComma-separated list of stages this stage can advance to
Backtrack TransitionsComma-separated list of stages this stage can return to

Persona View Example

The same workflow looks different depending on who is viewing it. Each persona sees only the columns relevant to their role.

Developer View
Backlog
Development
Code Review
Testing
Done
Client View
Backlog
In Progress
UAT
Done
Admin View
Backlog
Planning
Development
Code Review
Testing
UAT
Deployment
Done

How Transitions Work

Stage transitions are not free-form. Each stage explicitly declares which stages it can move forward to and which it can backtrack to. The board enforces these rules at runtime.

DevelopmentForward: Code Review, Testing
Code ReviewForward: Testing, UAT | Backtrack: Development
TestingForward: UAT, Deployed | Backtrack: Development, Code Review
DeployedTerminal stage — no further transitions

Technical Details

The workflow platform is built entirely on native Salesforce — Custom Metadata Types for configuration, Apex for query and resolution, and a single LWC that reads everything dynamically.

ComponentDetails
DeliveryWorkflowConfigService.cls5 methods: getWorkflowTypes, getWorkflowConfig, getTerminalStageValues, getAttentionStageValues, getStagePhaseMap
WorkflowType__mdt2 records out of the box (Software Delivery, Loan Approval) — extensible by subscribers
WorkflowStage__mdt45 records total (37 Software Delivery + 8 Loan Approval) with full color and transition config
WorkflowPersonaView__mdt90+ records defining column layouts for Developer, Client, PM, and Admin personas
deliveryHubBoard LWCDynamic board powered by @wire(getWorkflowConfig) — zero hardcoded maps or column definitions
WorkItem__c.WorkflowTypeTxt__cText(80) field linking each work item to its workflow type, default: Software_Delivery

Action Center

The Action Center provides context-aware guidance on every work item. Instead of guessing what needs to happen next, the system tells you.

Prerequisites per Stage

Each stage can define prerequisites that must be met before a work item can transition forward. Missing a developer assignment? No acceptance criteria defined? The Action Center surfaces exactly what is blocking progress and prevents premature transitions.

Contextual Guidance

Guidance adapts based on the current stage and workflow type. A work item in Development shows different actions than one in UAT. The system knows what the next step should be and presents it clearly — no tribal knowledge required.

Transition Blocking

When prerequisites are not met, the forward transition button is disabled with a clear explanation of what is missing. This enforces process discipline without requiring manual oversight — the workflow configuration itself is the enforcement mechanism.

Ready to configure your own workflow?

The Configurable Workflow Platform is included in every Delivery Hub installation. Software Delivery and Loan Approval work out of the box. To create a custom workflow, add records to the three Custom Metadata Types and assign the workflow type to your work items.