Table of Contents

Class RunStatusNames

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

The run statuses the engine persists on Status, and a helper that maps a caller-supplied status filter onto that exact spelling.

public static class RunStatusNames
Inheritance
RunStatusNames
Inherited Members

Remarks

Run-list filters arrive from the dashboard query string or user code in any casing. The in-memory store compares with OrdinalIgnoreCase and SQL Server's default collation is case-insensitive, but PostgreSQL compares status byte for byte. Canonicalising the parameter (rather than wrapping the column in lower()) keeps the filter an equality on the bare column, so ix_flow_runs_status and ix_flow_runs_flow_id_status_started_at stay usable.

Fields

Cancelled

A run a user cancelled.

public const string Cancelled = "Cancelled"

Field Value

string

Failed

A run with an unhandled failed step.

public const string Failed = "Failed"

Field Value

string

Running

A run with at least one step not yet terminal.

public const string Running = "Running"

Field Value

string

Skipped

A run whose every leaf step was skipped.

public const string Skipped = "Skipped"

Field Value

string

Succeeded

A run whose terminal classification is success.

public const string Succeeded = "Succeeded"

Field Value

string

TimedOut

A run that exceeded its timeout deadline.

public const string TimedOut = "TimedOut"

Field Value

string

Methods

Canonicalize(string)

Returns the persisted spelling of status when it names a known run status in any casing; otherwise returns status unchanged (a custom store may persist its own).

public static string Canonicalize(string status)

Parameters

status string

The requested status filter.

Returns

string

The canonical status string, or status itself.

Remarks

Allocation-free: returns one of the constants or the input instance.