Skip to content

ExecutionResult

junjo.ExecutionResult

Kind: Class

SDK version: 0.64.0

Documentation channel: Next source preview

ExecutionResult(run_id: str, definition_id: str, name: str, state: StateT, node_execution_counts: Mapping[str, int])

View source

Frozen result wrapper for a completed workflow or subflow execution.

ExecutionResult is the public post-run API for accessing final state and execution metadata without exposing live runtime objects like the internal store or graph. The wrapper is immutable; state is a detached final state snapshot copied out of the run-local store.

The result includes:

  • run_id: The unique identifier for this specific execution.
  • definition_id: The stable identifier of the workflow or subflow definition.
  • name: The configured workflow or subflow name.
  • state: The detached final state snapshot for the completed execution.
  • node_execution_counts: Current-scope execution counts keyed by executable id.

run_id: str

View source

Public attribute.

definition_id: str

View source

Public attribute.

name: str

View source

Public attribute.

state: StateT

View source

Public attribute.

node_execution_counts: Mapping[str, int]

View source

Public attribute.