Test, run and review
Test the draft on a sample or all the data, step by step; run the saved version; follow runs on the Runs page and in threads; answer a paused run; and go back with Version history.
A test runs the draft. A run runs the version last saved. Keep the two apart and the rest follows.
Test the draft
Test, in the editor's header, runs the draft's steps on what Ingest reads and shows each step's result in the data panel. Its chevron, Choose what to test on, picks Test on sample (the default) or Test on all data; the button's tooltip says which. While a test goes on, the button reads Stop.
Step by step runs only the next step that is not up to date, so each press moves one step on (Step by step: run the next step that is not up to date). Once every step is fresh it reads Every step is up to date. A step's ⋯ also has Run from this step.
A test never posts, asks nobody, never runs Save Data or a step after it, and never counts as a run. A PDF's test reads only its first pages, 25 unless its ingestion says otherwise, and an Enrich step's test fills only each rule's first 20 rows that need a value.
Run the saved version
Run opens the Run a workflow dialog on this workflow, which asks for a value of each context, then starts a run of the version last saved (Run started). It is held until the workflow's first save: Save the workflow to run it. Schedules and File received triggers start runs on their own once the workflow is saved with them.
The Runs page
In Studio mode, Runs lists every run, with Workflow, Context (the values it was given), Status, Rows in, Rows out and Started. Narrow it by status (All statuses at first). A run reads Running, Succeeded (with how long it took), Failed, Stopped, or Waiting for the people it asks.
Each row's ⋯ holds View run, Edit workflow and, while it goes on, Stop run. The editor's ⋯, Last runs, lists one workflow's latest runs, and Show all opens this page narrowed to it.
A run's page shows the steps of the version that ran, each with what it read and made, and the data panel with each step's tables. A run that stopped at a rule shows why, with Fix this.
Runs in threads
A rule that notifies a channel posts a message about the run, and the rule's card as its reply: what the rule's code found, its facts and rows, read only, and Open the run, which opens the run beside the thread. Paste the address of a workflow or a run into a thread and it reads as a chip that opens it there too.
Answer a paused run
A run paused by a rule waits for a person: its request is a task for the assignees, posted in the channel when one is set. Read the card, correct the cells it opens to you, and answer:
- Approve and continue carries the run on, with your corrections.
- Stop the run ends it.
An Enrich rule's request also has Try again after a failed request. If nobody answers within the time the rule's If nobody answers sets, the run stops.
Rows remember their run
Every row Save Data writes records the run that saved it: Record the run on each row is always on in its Matching tab. So a row in Data can always be traced to the run, the version and the file it came from.
Version history
Each Save keeps a numbered version, with who saved it and what changed. Open Version history from the editor's ⋯: the versions, newest first, and Unsaved changes while the draft has any. Click one to open it (Version 3, Saved by Claire Martin) with its changes, then Restore this version to make it the draft again. Restoring changes only the draft: Runs keep version 4 until you save. Restoring the latest version drops the unsaved changes.
The agent never restores a version: asked to go back, it points you here.
Where to go next
- What each step holds: The steps.
- What a run does when a rule fires: Rules and interventions.