Table of Contents

Class FlowStepRecord

Namespace
FlowOrchestrator.Core.Storage
Assembly
FlowOrchestrator.Core.dll

Persisted state of a single step within a flow run, including its latest execution outcome and the full attempt history.

public sealed class FlowStepRecord
Inheritance
FlowStepRecord
Inherited Members

Properties

AttemptCount

Total number of execution attempts, including retries.

public int AttemptCount { get; set; }

Property Value

int

Attempts

Full attempt history. Populated only in detail views; null in list contexts.

public IReadOnlyList<FlowStepAttemptRecord>? Attempts { get; set; }

Property Value

IReadOnlyList<FlowStepAttemptRecord>

CompletedAt

UTC timestamp of the last terminal outcome, or null if still running.

public DateTimeOffset? CompletedAt { get; set; }

Property Value

DateTimeOffset?

ErrorMessage

Error message from the most recent failed attempt, if any.

public string? ErrorMessage { get; set; }

Property Value

string

EvaluationTraceJson

JSON-serialised WhenEvaluationTrace persisted when a step is skipped because its When clause evaluated to false; otherwise null.

public string? EvaluationTraceJson { get; set; }

Property Value

string

InputJson

JSON-serialised inputs resolved at execution time.

public string? InputJson { get; set; }

Property Value

string

JobId

Hangfire job ID of the most recent execution attempt.

public string? JobId { get; set; }

Property Value

string

OutputJson

JSON-serialised output produced by the step handler on the latest successful attempt.

public string? OutputJson { get; set; }

Property Value

string

RunId

The run this step belongs to.

public Guid RunId { get; set; }

Property Value

Guid

StartedAt

UTC timestamp of the first execution attempt.

public DateTimeOffset StartedAt { get; set; }

Property Value

DateTimeOffset

Status

Current status string (e.g. "Succeeded", "Failed", "Running").

public string Status { get; set; }

Property Value

string

StepKey

Step key within the flow manifest (may be a runtime loop path such as "processItems.0.validate").

public string StepKey { get; set; }

Property Value

string

StepType

The step's handler type name.

public string StepType { get; set; }

Property Value

string