Table of Contents

Interface IStepExecutor

Namespace
FlowOrchestrator.Core.Execution
Assembly
FlowOrchestrator.Core.dll

Orchestrates the full lifecycle of a single step execution: resolving the handler, evaluating input expressions, invoking the handler, and persisting the output. Implemented by DefaultStepExecutor in the Hangfire layer.

public interface IStepExecutor

Methods

ExecuteAsync(IExecutionContext, IFlowDefinition, IStepInstance)

Executes the step described by step within the given flow and context, returning the normalised result.

ValueTask<IStepResult> ExecuteAsync(IExecutionContext context, IFlowDefinition flow, IStepInstance step)

Parameters

context IExecutionContext

The ambient execution context carrying RunId and trigger data.

flow IFlowDefinition

The flow definition that owns this step.

step IStepInstance

The resolved step instance with evaluated inputs.

Returns

ValueTask<IStepResult>