Processes

The Processes page lists all workflows for an admin. Wiring validity is surfaced inline so admins can see which workflows are ready to activate at a glance. The Set Active button is gated on wiringStatus.valid.


Overview

Live demo. Each row reflects a different wiring state. Set Active is only enabled for the fully wired workflow.

WorkflowStatusWiring statusActions

Enter Student Into System

Draft
Wired

Scholarship Application

Draft
Not wired
last_name → not mappedcohort → not mapped

Deferral Request

Draft
Wiring broken
first_name → field removed

International Enrolment

Draft
Not started

Wiring status column

Read from workflow.wiringStatus. Broken takes priority over Not wired when both conditions are true. Unmapped or broken fields are shown inline — not behind a tooltip or expand.

StateConditionBadge colorIconLabel
WiredwiringStatus.valid === truesuccessCheckCircleWired
Not wiredvalid === false and unmappedRequired.length > 0warningWarningAmberNot wired
BrokenstaleMappings.length > 0 (takes priority over Not wired)errorErrorOutlineWiring broken
Not startedwireMappings is empty or undefineddefaultRadioButtonUncheckedNot started

Set Active button

Enabled only when wiringStatus.valid === true. When disabled, a MUI Tooltip fires on hover with a context-specific message. Edit and view actions are never gated — only Set Active.

ConditionTooltip message
Not wiredFinish wiring to activate
Wiring brokenRe-map broken field(s) to activate
Not startedComplete wiring to activate

Badge states

All four states rendered side by side.

Wired
Not wired
Wiring broken
Not started