Portal Community

Clicking Run

In Execution Mode, the Run button (green play icon) appears in the Top Toolbar. Clicking it:

  1. Validates the workflow has a trigger node (client-side check)
  2. Opens the Run dialog (if the trigger is manual-trigger — allows entering trigger data)
  3. Calls POST /api/v1/process-engine/execute
  4. Receives { executionId }
  5. Connects to SignalR for real-time updates
  6. All node statuses reset to "pending" and the Observer Panel opens on the Status tab

The Run Dialog

For manual-trigger workflows, a Run dialog appears before execution starts. It provides:

What Happens Backend-Side

1

Execution Record Created

A new execution record is written to the database with status Running. The ExecutionId is a GUID.

2

Graph Loaded

The Process Engine loads the workflow graph from the database and builds a topological execution order.

3

Trigger Node Executes

The trigger node executor runs first, setting up the initial ExecutionMemory with the provided trigger data.

4

Nodes Execute in Order

Each node executor runs in dependency order. Guard rails check before and after each node. SignalR events push status to all connected clients.

Run Button States

StateButton AppearanceMeaning
ReadyGreen play icon, "Run"No active execution; ready to start
StartingSpinner, "Starting..."API call in flight; waiting for ExecutionId
RunningRun disabled; Pause and Cancel enabledExecution active
PausedResume button shown; Cancel enabledExecution suspended
CompleteGreen play icon, "Run Again"Previous execution ended; ready for a new run