Skip to main content

Pause, resume, edit the rest, stop

Goal

Stop a run going wrong, or fix the remaining blocks mid-run. Time: 10 minutes.

ActionEffect
Pause runLets the active block finish, then holds the next one
ResumeContinues from the held block
Edit rest → ApplyChanges the blocks that haven’t started in this run only. It doesn’t write the workflow file
Edit workflow → SaveChanges the file, which affects the next run
StopCancels the active process tree or request immediately, without asking
Cancel runAvailable during credential preflight, before any block starts

Rules

  • A workflow has one active run at a time. A second start is recorded as Skipped · already running. Different workflows can run at the same time.
  • If Termorq quits while a run is in progress, that run is shown as stopped and its partial folder stays.
  • termorq-cli workflow run blocks the CLI process. Quitting the app stops it.
Check your run

Add sleep 20 to the first block of a three-block workflow. Run it, Pause it, use Edit rest to change block 3’s output, Apply, then Resume. Block 3 uses the edited version, and the saved file is unchanged.

Exercise

Start the same workflow twice quickly, once with Run and once with its HTTP trigger. What does Runs show?

Details

The second start is recorded as Skipped · already running.