Table of Contents

Class FlowStepAttemptRecord

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

Immutable audit record for a single execution attempt of a step. Multiple attempts are created when a step is retried via the dashboard.

public sealed class FlowStepAttemptRecord
Inheritance
FlowStepAttemptRecord
Inherited Members

Properties

Attempt

One-based attempt number (1 = first try, 2 = first retry, etc.).

public int Attempt { get; set; }

Property Value

int

CompletedAt

UTC timestamp when this attempt reached a terminal status.

public DateTimeOffset? CompletedAt { get; set; }

Property Value

DateTimeOffset?

ErrorMessage

Error message if this attempt failed.

public string? ErrorMessage { get; set; }

Property Value

string

EvaluationTraceJson

JSON-serialised FlowOrchestrator.Core.Expressions.WhenEvaluationTrace persisted when this attempt was skipped because a When clause evaluated to false; otherwise null.

public string? EvaluationTraceJson { get; set; }

Property Value

string

InputJson

JSON-serialised inputs used for this attempt.

public string? InputJson { get; set; }

Property Value

string

JobId

Hangfire job ID for this attempt.

public string? JobId { get; set; }

Property Value

string

OutputJson

JSON-serialised output produced by this attempt, if any.

public string? OutputJson { get; set; }

Property Value

string

RunId

The run this attempt belongs to.

public Guid RunId { get; set; }

Property Value

Guid

ServerId

The server that ran this attempt (ServerId, the step-lease owner id), or null for an attempt recorded without one: a skip, a store that does not record it, or a row written before 2.0.

public string? ServerId { get; set; }

Property Value

string

StartedAt

UTC timestamp when this attempt started.

public DateTimeOffset StartedAt { get; set; }

Property Value

DateTimeOffset

Status

Terminal status of this attempt.

public string Status { get; set; }

Property Value

string

StepKey

Step key (manifest key or runtime loop path).

public string StepKey { get; set; }

Property Value

string

StepType

The step's handler type name at the time of this attempt.

public string StepType { get; set; }

Property Value

string