Class StepMetadata
- Namespace
- FlowOrchestrator.Core.Abstractions
- Assembly
- FlowOrchestrator.Core.dll
Defines a single step in a flow manifest, specifying its handler type, dependency declarations, and static input values.
[JsonConverter(typeof(StepMetadataJsonConverter))]
public class StepMetadata
- Inheritance
-
StepMetadata
- Derived
- Inherited Members
Properties
Inputs
Static input values merged with runtime-resolved expressions before the
handler receives them. Values may include @triggerBody() and
@triggerHeaders() expressions resolved at execution time.
public IDictionary<string, object?> Inputs { get; set; }
Property Value
RunAfter
Declares which preceding steps must reach a terminal status before this step is eligible to run. An empty collection means the step is an entry point and is enqueued immediately when the flow is triggered.
public RunAfterCollection RunAfter { get; set; }
Property Value
Type
Handler type name that maps to a registered step handler via
AddStepHandler<T>("TypeName") in the DI container.
public string Type { get; set; }
Property Value
Methods
ShouldExecute(string, StepStatus)
Returns true when this step should execute given that
precedingStepKey has reached status.
public virtual bool ShouldExecute(string precedingStepKey, StepStatus status)
Parameters
precedingStepKeystringThe key of the step that just completed.
statusStepStatusThe terminal status the preceding step reached.