Portal Community

Node Configuration

{
  "nodeType": "CancelWorkflow",
  "name": "cancelPayrollRun",
  "config": {
    "executionId": "$output.startPayrollRun.executionId",
    "reason": "Cancelled by orchestrator: payroll period already processed",
    "waitForCancelled": false
  }
}

Configuration Fields

FieldTypeDescription
executionIdstring / exprThe execution ID to cancel. Must be a running or suspended execution within the same tenant.
reasonstring / exprHuman-readable cancellation reason recorded in the execution audit log.
waitForCancelledboolWhen true, the node suspends until the target execution reaches Cancelled status. Default: false.

Node Output

{
  "executionId": "exec-payroll-abc123",
  "status": "cancellation-requested",
  "requestedAt": "2026-05-25T10:05:00Z",
  "reason": "Cancelled by orchestrator: payroll period already processed"
}

Cancellation Behaviour

Cancellation is a signal, not an immediate stop. The target execution:

Already-completed executions: Sending a cancel signal to a Completed or already-Cancelled execution is a no-op — the node succeeds and the output reflects the current status. This is safe to call without checking status first.