The workflow page
Every workflow has one page with five tabs. Overview shows its last 24 hours, Build edits it, Runs lists every message it handled, Versions reviews and deploys a version (as a canary or on a schedule too), and Settings holds ownership, delivery, data, alerts and the danger zone.
On this page
Each workflow has one page at /workflows/{id}. Open it from Workflows. The page has five tabs: Overview, Build, Runs, Versions and Settings. The tab is in the address (?tab=runs), so you can link to it. Without ?tab= the page opens on Overview.
The header
The header stays above every tab.
| Part | What it shows |
|---|---|
| Name and id | The workflow's name, then its short id and the live version, for example wf_7c21e0 · v4. While a canary runs it reads wf_7c21e0 · v4 + v5 canary. |
| Status | Active, Failing, Waiting for first message, Needs approval, Draft or Paused. |
| Pending pill | v5 needs approval or v5 approved while a newer save waits, Canary 10% while a canary runs. It opens Versions. |
| Receiving switch | Turns the workflow on or off. Turning it off asks first (Turn off); messages in flight finish. A workflow that was never deployed asks you to deploy it first (Go to Deploy). |
| Tab badges | Runs shows how many runs failed in the last 24 hours. Versions shows 1 while a save is not deployed. |
Choose ? at the bottom of the page for the page's help, or take its three-step tour. See Guided tours.
Overview
Overview shows the last 24 hours of the workflow. It reads the workflow's own runs only, so a busy neighbour does not slow it.

| Figure | What it counts |
|---|---|
| Messages | Runs in the last 24 hours, and the hourly average. |
| Errors | Failed runs. |
| p95 end to end | 95% of runs finished faster than this. |
| Retries | Runs that needed a retry, or none needed. One retried run reads like Epic 503, then 201. |
| Needs action | Messages of this workflow waiting on Messages › Needs action, or nothing waiting. It shows — when the count is too large to read in full. |
Below the figures:
- Messages · last 24 h has one bar per clock hour, errors in red.
- Open issue groups the failures by the step they failed at and the error code, and says what to do next. A code table miss names the table and the missing value: "Ward code 5E isn't in facility_locations." The value is never shown when it comes from a patient field. View runs opens Runs on Failed with the newest failed run open. Replay in builder opens Build with the failed message. Review v5 fix appears only when a newer, undeployed version changes the failing step, and opens that version in Versions. A failure that was replayed, retried successfully or discarded since no longer holds the card up.
- Steps · last 24 h lists each step with its count, its p95 (as a bar against the slowest step) and its errors. Choose a step to open it in Build.
On the right:
| Card | What it shows |
|---|---|
| Deploy | Live (v4 · since Oct 21) and Next (v5 draft · needs approval), or the canary (v4 · v5 on 10%, promote 15:10). Open versions. |
| Source | The trigger: Listening or Not listening, how long a tunnel has been up (Up · 13 d), and the Last message. |
| Destinations | Each destination with its router branch and queue (Admit branch · queue empty): Delivering, Some failed, No messages or Not answering, with the next step to try as its tooltip. |
| Recent runs | The 6 newest runs. Choose one to open it in Runs, or All runs for the list. A run that reached no destination says Filtered. |
The validation panel sits below, as in the builder.
Build
Build is the workflow builder, with its own toolbar. See Build a channel. Leaving Build with unsaved changes asks first. A step link from Overview (?tab=build&step={id}) opens that step.
Runs
Runs lists the last 24 hours of runs, newest first. The list refreshes on its own every 15 seconds (Last 24 h · live).
| Column | What it shows |
|---|---|
| Time | When the run started. |
| Message | The message control id. |
| Event | The message type, for example ADT^A01. |
| Route | The destinations the run went to. |
| Result | What happened, in a few words: Delivered · Epic 201, GCS, Delivered on retry 2 · Epic 503 first, Failed at 3 · no entry for 5E, Filtered · A03 not routed. |
| Took | How long the run took. |
The chips All, Failed, Retried and Filtered show their counts. Search takes a message id, an MRN or a visit number. Every search is written to the audit log (message.searched), because an MRN is PHI.
The run panel
Choose a run to open its panel on the right. Its header reads like 14:02:11 · Oct 19 · run ex_4f2a91 and how long it took. Opening a run is audited (execution.viewed).

| Part | What it shows |
|---|---|
| Trace | Each step on a time line. Retries are amber, failures red, and steps that never ran are dimmed. |
| Failure | The step that failed, the cause (No entry for “5E” in facility_locations.) and the next step to try. "The message was NACKed with AE and kept for replay." appears only when the sender really got a NACK. |
| Message as received | The message, with patient fields masked (D•••^J•••). See Show PHI. |
| ACK returned | The ACK the sender got, following the trigger's ACK mode. Nothing shows for a message that did not come in over MLLP. |
| Ran on | The version and the engine instance the run used. |
| Called by run | For a run started by a Call workflow step, a link to the caller. |
At the bottom:
- Open in builder opens Build with this run's message.
- Reprocess runs the message again through the workflow as it is now, after a confirmation. Adapters are called, so data reaches connected systems again. If the run partly delivered, only the destinations that failed are sent again. The original run stays in the history. See Replay.
- Save as test case saves the message as a test case, which every deploy then dry-runs. See Save test cases.
While a run is pending, running or waiting, the panel reads it again every 3 seconds, for up to 5 minutes.
Step input and output, the connection each step used and mapping warnings are in Messages: open the message there and choose Steps. See Monitor and recover.
Show PHI
The message is masked until you ask for it. Choose Show PHI and a reason: Troubleshooting, Patient request or Audit. The engine records the reveal first, and only then sends the message unmasked. The panel then says PHI visible · reason: Troubleshooting · logged.
Hide PHI, closing the panel or opening another run masks it again. Each reveal writes one phi.revealed audit event with the reason and a keyed hash of the patient's MRN, never the value. If the reveal cannot be recorded, the message stays masked. Viewers see Show PHI turned off, and the API refuses their reveal with 403.
Versions
Every save is a version. Saving never changes what production runs: the engine keeps running the deployed version until you deploy a newer one. Versions has three columns: the version list, the diff and the deploy panel.

The version list
Newest first. Each version shows its change note, written when it was saved, and who saved it and when (CJ · Oct 14). The live version adds how long it has run (· 8 days live).
| Tag | Means |
|---|---|
| Draft | The newest save, not deployed yet. |
| Approved | The newest save, approved by a second admin. |
| Needs approval | It runs without ever having been deployed through the checks. |
| Live | The version production runs. |
| Canary 10% | The version a running canary uses. |
| Previous | The version the newest deploy replaced. |
| Rolled back | A version a rollback replaced. |
Choose a version to see it in the diff and the deploy panel.
The diff
The diff compares the selected version with the one before it (v5 compared with v4), one card per changed step. + lines were added, ~ lines changed (old → new) and − lines were removed. Adapter profiles show by name.
The deploy panel
The panel is titled Deploy v5. It lists the checks, in this order:
| Check | Passes when |
|---|---|
| Test cases | Every saved case passes (5 of 5 test cases pass · including Unknown ward 5E). Only shown when there are cases. Deploy dry-runs them again. |
| Test run | A test or run passed after this version was saved (Test run passed). |
| Validation | No validation errors (no steps need setup · profiles resolve). |
| Dry run against the last 50 messages | Choose Run. It runs stored messages through the version on the server and returns counts only: 50 delivered · 0 changed outputs outside Map ward. |
| Approval | A second admin approved (Approved by Demo Admin). Request approval, then another admin's Approve. |
The deploy button stays off until a second admin approves, and says why under it (Needs a second admin's approval first, Needs a passing test first). Once everything passes it reads Approved · ready to deploy.
The dry run compares each message's output from the deployed version and the new one. Values a workflow makes up on each run, such as the time in MSH-7, a generated MSH-10 and FHIR resource ids, are left out. If an output changed outside the steps the change touches, the check shows ! and Deploy waits: Dry run changed outputs · review first. The hold stays after a reload, until the version, the deployed version or the live save changes.
After the deploy, the panel reads v5 is live, then All messages run on v5 · 0 errors since deploy · v4 kept for one-click rollback. Messages already in flight finish on the version they started with.
Canary and scheduled deploy
Rollout and When sit above the deploy button.
| Choice | Options |
|---|---|
| Rollout | Canary at 10, 25 or 50% of messages, or All at once. A canary needs a deployed version to run beside, so the first deploy is all at once. |
| When | Now, or Schedule with Deploy at. Schedule starts at the workflow's quietest hour of the last 24 hours, in your time zone: Tonight · 22:00 CDT · low traffic. |
The button follows the choice: Start canary at 10%, Schedule v5 for 22:00 or Deploy v5 to all messages.
A canary runs its share of messages, chosen by message id, on the new version beside the deployed one. Every minute the engine checks it. After 30 minutes with an error rate under 1% it promotes the canary to 100%. At 1% or more it rolls the canary back on its own. While it runs, the panel reads Canary · v5 on 10% of messages, with 40 messages so far · 0 errors · promotes automatically at 15:10.:
- Promote to 100% deploys it to every message now, after a confirmation.
- Roll back to v4 sends every message to v4 again, after a confirmation. v5 goes back to a draft and needs a new approval.
A scheduled deploy reads v5 deploys to all messages at Tonight · 22:00 (or starts a canary at 10%), with Cancel schedule. A later save cancels it.
Canary and scheduled deploys are on by default. Set CANARY_DEPLOY_ENABLED=false to turn them off. See Environment variables.
Roll back
Under the deploy panel, Roll back to v4 offers the version before the deployed one. To roll back further, select an older version in the list first. It asks first (Roll back), then redeploys the older version. Messages in flight finish on the running version. Nothing is deleted: the version you rolled back from stays in the list, and you can deploy it again later.
Test cases, releases and the template link
Below the rollback:
- Test cases: Save sample as case with a Case name, Run all, and Remove per case. See Save test cases.
- Releases: Publish release (v4) for a callable workflow. See Callable workflows.
- Template: Make a linked copy, and Update all for the workflows linked to it. See One workflow, many senders.
The ··· menu
The ··· button (More version actions) at the top right of Versions holds:
| Item | What it does | Role |
|---|---|---|
| Promote to another workspace | Opens the promotion dialog. See Environments and promotion. | Admin |
| Environments | Each workspace's deployments of this workflow, and Roll back to v1 per workspace. | Everyone |
| Publish to marketplace | Publishes the workflow as a template, with no PHI. | Admin |
| Sample and dry run | The saved sample, its fields and a dry run that sends nothing. | Everyone |
| Run with a test message | Pastes a message and runs the workflow for real: adapters are called. Receiving must be on. | Operator |
Settings
Settings has five sections, each with a short note beside its fields. A change saves as you make it (Saving…, Saved).

| Section | Fields |
|---|---|
| General | Name, Owner (anyone who may work in the workspace), Tags (up to 10, lower case) and Description. Owners get alerts first. |
| Delivery | Workflow retries (Edit in Build), Ordering (per sender · FIFO for MLLP), Duplicate messages (drop by MSH.10 · 24 h), Max in flight and the Senders table. |
| Data | Retention (30 days, then bodies deleted), Encryption (on · engine key, rotated Oct 1), PHI in logs and Sample access, above the Encrypt stored messages switch and the retention setting. |
| Alerts | Error rate, Silence, Queue depth and Certificate from the workflow's own alert rules, then the other rules that watch it, and Manage alert rules. |
| Danger zone | Export: Export JSON and Mirth XML. Delete workflow, after a confirmation. |
A few details:
- Owner, Tags and Max in flight save on the workflow, with no new version. Ordering and Duplicate messages are trigger settings, so a change saves a new version that applies once it is deployed.
- Max in flight (1 to 64, empty for no limit) caps how many of the workflow's queued runs and polls run at once, across every engine instance. Other workflows keep flowing. A manual run is not held back, but it counts.
- An alert that is not set reads off, with Add. Add creates the alert for this workflow, emailed to its owner. It needs an Owner with an email address and a mail transport on the engine.
- An export carries no PHI. The saved sample and test cases made from real messages stay behind, and text copied from those messages into the workflow is replaced by
[redacted]. A toast says what was left out. - Deleting a workflow removes it with its versions. Its past runs stay in the run history and the audit log.
Who can do what
The page follows the permission matrix. A control you cannot use is shown turned off, with the reason as its tooltip.
| Action | Role |
|---|---|
| Read every tab | Viewer |
| Read the message as received | Operator |
| Show PHI, Reprocess, Save as test case | Operator |
| Receiving, Settings fields, Add an alert, Delete workflow | Operator |
| Request approval, run test cases | Operator |
| Approve, deploy, override, roll back, canary, schedule, promote, publish | Admin |
| Retention and Encrypt stored messages | Admin |
Old links
Older pages of a workflow now open a tab of this page, so bookmarks still work.
| Old address | Opens |
|---|---|
/workflows/{id}/details | Overview |
/workflows/{id}/edit | Build |
/workflows/{id}/versions, /workflows/{id}/diff | Versions, keeping the compared versions |
/executions/{id}, /executions/{id}/live | Runs, with the run's panel open (?tab=runs&run={id}) |
/executions | Messages, with the same workflow, source, time range and search |
Over the API
| Call | What it does |
|---|---|
GET /api/workflows/{id}/overview | The Overview figures, chart, open issue, steps and cards. No message content or error text. |
GET /api/workflows/{id}/runs | The Runs list, with result and a search. |
GET /api/workflows/{id}/runs/{runId} | One run's panel. Add phi=reveal&reason=troubleshooting to get the message unmasked, audited. |
POST /api/workflows/{id}/deploy | Deploy, approve, dry run, canary, schedule and roll back. See Test, version and deploy safely. |
PATCH /api/workflows/{id} | Settings: owner, tags and maxInFlight. |
POST /api/workflows/{id}/alert-rules | Adds one of the four workflow alerts. |
GET /api/workspaces/{id}/people | The people Owner offers. |