# Function getStepResult

Workflows exports - Workflow engine with parallel execution Split from index.ts for file size compliance (Issue #285)

- getStepResult(
  context: WorkflowExecutionContext,
  stepId: string,
  ): StepResult | undefined

  Retrieves a step result from the execution context.

  #### Parameters

  - context: WorkflowExecutionContext

    The execution context

  - stepId: string

    The step identifier

  #### Returns StepResult | undefined

  The step result or undefined if not found

  - Defined in packages/nexus-agents/src/workflows/execution-context.ts:104