DocsFlowStop Macro

Halt Workflow Execution Immediately (Stop Macro) in RunMacro

Desktop ModeBrowser ModeRunMacro RunnerRunMacro 3.5+

Stop Command immediately and safely halts macro execution in RunMacro, freeing system hooks and finalizing execution status.

Dialog & quick setup

RunMacro Stop Macro command configuration dialog showing parameter fields
Configuration dialog and parameter fields for the Stop Macro command in RunMacro.
  1. In RunMacro, open the Flow › Stop Macro command from the left palette.
  2. Click to insert the Stop command at your desired position in the workflow list.
  3. The Stop command requires no complex parameters; it halts execution immediately when encountered.
  4. Click Save to confirm.

Options reference

Command Configuration

Executes definitively with zero delay, dispatching an immediate stop signal to the entire RunMacro runtime engine.

Modes & when to use

Desktop Mode

Terminates desktop workflows and releases global input hooks.

Browser Mode

Safely halts browser CDP execution streams.

RunMacro Runner

Updates status to Stopped inside RunMacro Runner.

Best for

  • Placed at the end of primary workflows to definitively conclude execution and close tasks.
  • Positioned within error handling branches when invalid data or missing files are detected.
  • Breaking out of continuous loops once a desired termination criterion is met.
  • Immediately halting automation if an account lockout or security alert is encountered.

Use an alternative when

  • Pausing temporarily for user confirmation (use Pause or Wait Hotkey instead).
  • Pausing a few seconds for buffering (use Delay or Smart Wait).
Before you run
  • Inserted at the desired termination point in the workflow sequence.

Example workflow

Example: Stop macro immediately if Excel input file is missing

  1. Use an If File Exists command to verify Data.xlsx.
  2. In the missing-file branch, display a Show Message dialog: 'Missing data file!'.
  3. Immediately insert a Stop Macro command to terminate safely without triggering downstream failures.
Expected result: The macro halts instantly and returns to idle ready state for subsequent runs.

Tips & limitations

Pair the Stop command with Log Message or Telegram Notification to record the exact reason for termination.
The Stop command halts the current workflow entirely; no steps located beneath it will execute.
  • Terminates current macro context; nested parent workflows should evaluate child exit status.

Applies to RunMacro 3.5+ · Desktop Mode & Browser Mode & RunMacro Runner · Windows 10/11

RunMacro robot

Robots do the work. Your time is yours.

Create a robot in minutes, no coding needed. Reliable execution, remote management, transparent costs — and you always stay in control.