Table of Contents

Class FlowEventRecord

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

One entry of a run's chronological timeline, as returned by Build(FlowRunRecord).

public sealed class FlowEventRecord
Inheritance
FlowEventRecord
Inherited Members

Remarks

Since 2.0 these entries are no longer persisted: they are derived on read from the run record and its step attempts (FlowRunRecord, Attempts), so producing them costs nothing on the step-execution path. The type keeps its 1.x name and shape so code that consumed the old persisted event log — and the dashboard's /api/runs/{runId}/events JSON — keeps working.

Properties

Message

Human-readable detail, e.g. the failure reason or the skip reason recorded on the step.

public string? Message { get; set; }

Property Value

string

RunId

The run this entry belongs to.

public Guid RunId { get; set; }

Property Value

Guid

Sequence

1-based position of the entry within the run's timeline, in chronological order.

public long Sequence { get; set; }

Property Value

long

StepKey

The step key the entry describes, or null for run-level entries.

public string? StepKey { get; set; }

Property Value

string

Timestamp

UTC time of the state change the entry describes (a run or attempt start or completion).

public DateTimeOffset Timestamp { get; set; }

Property Value

DateTimeOffset

Type

Entry kind: run.started, run.completed, step.started, step.completed, step.failed, step.skipped or step.pending (see the constants on FlowRunTimeline).

public string Type { get; set; }

Property Value

string