Class RunSearchDocument
- Namespace
- FlowOrchestrator.Core.Storage
- Assembly
- FlowOrchestrator.Core.dll
The searchable projection of a run, produced when the run starts.
public sealed record RunSearchDocument : IEquatable<RunSearchDocument>
- Inheritance
-
RunSearchDocument
- Implements
- Inherited Members
Constructors
RunSearchDocument(Guid, DateTimeOffset, string?, string?, string?, string?)
The searchable projection of a run, produced when the run starts.
public RunSearchDocument(Guid RunId, DateTimeOffset StartedAt, string? FlowName, string? TriggerKey, string? BackgroundJobId, string? TriggerDataJson)
Parameters
RunIdGuidThe run.
StartedAtDateTimeOffsetThe run's start time.
FlowNamestringThe flow's name.
TriggerKeystringThe trigger that started the run.
BackgroundJobIdstringThe runtime's job id, if any.
TriggerDataJsonstringThe trigger body.
Properties
BackgroundJobId
The runtime's job id, if any.
public string? BackgroundJobId { get; init; }
Property Value
FlowName
The flow's name.
public string? FlowName { get; init; }
Property Value
RunId
The run.
public Guid RunId { get; init; }
Property Value
StartedAt
The run's start time.
public DateTimeOffset StartedAt { get; init; }
Property Value
TriggerDataJson
The trigger body.
public string? TriggerDataJson { get; init; }
Property Value
TriggerKey
The trigger that started the run.
public string? TriggerKey { get; init; }