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.
| Workflow | Status | Wiring status | Actions |
|---|---|---|---|
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.
| State | Condition | Badge color | Icon | Label |
|---|---|---|---|---|
| Wired | wiringStatus.valid === true | success | CheckCircle | Wired |
| Not wired | valid === false and unmappedRequired.length > 0 | warning | WarningAmber | Not wired |
| Broken | staleMappings.length > 0 (takes priority over Not wired) | error | ErrorOutline | Wiring broken |
| Not started | wireMappings is empty or undefined | default | RadioButtonUnchecked | Not 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.
| Condition | Tooltip message |
|---|---|
| Not wired | Finish wiring to activate |
| Wiring broken | Re-map broken field(s) to activate |
| Not started | Complete wiring to activate |
Badge states
All four states rendered side by side.