WorkflowRecordUnion

PackageFCQRS.Workflows
The records a workflow instance stores. Their shape is a persistent contract. A row is journaled under the CLR name of its case, such as `FCQRS.Workflows.WorkflowRecord+StepScheduled, FCQRS.Workflows`, which a reader resolves without any registration. This type's name, namespace, and assembly are therefore part of the contract too.

Specification

Kind
Union
Members
20
Examples
0
IsStepScheduledSignature
this.IsStepScheduled
IsStartedSignature
this.IsStarted
IsCancelRequestedSignature
this.IsCancelRequested
IsCancelledSignature
this.IsCancelled
IsFinishedSignature
this.IsFinished

Summary

NameSignatureSynopsis
IsStepScheduledthis.IsStepScheduledNo description available.
IsStartedthis.IsStartedNo description available.
IsCancelRequestedthis.IsCancelRequestedNo description available.
IsCancelledthis.IsCancelledNo description available.
IsFinishedthis.IsFinishedNo description available.
IsStepCompletedthis.IsStepCompletedNo description available.
IsFaultedthis.IsFaultedNo description available.
IsStepFailedthis.IsStepFailedNo description available.
IsSignalReceivedthis.IsSignalReceivedNo description available.
IsResumedthis.IsResumedNo description available.
StartedStarted(input, at, traceparent, parent)No description available.
StepScheduledStepScheduled(path, name, kind, at, detail)A step's start.
StepCompletedStepCompleted(path, name, kind, result, at)No description available.
StepFailedStepFailed(path, name, kind, error, at)No description available.
SignalReceivedSignalReceived(name, payload, at, traceparent)No description available.
CancelRequestedCancelRequested atNo description available.
FinishedFinished(result, at)No description available.
FaultedFaulted(error, at)No description available.
CancelledCancelled atNo description available.
ResumedResumed(path, at)A faulted instance was resumed: the failure of the step at `path` is set aside, and the body runs that step again, with its earlier key.

IsStepScheduled

this.IsStepScheduled
Member

Returns

bool

IsStarted

this.IsStarted
Member

Returns

bool

IsCancelRequested

this.IsCancelRequested
Member

Returns

bool

IsCancelled

this.IsCancelled
Member

Returns

bool

IsFinished

this.IsFinished
Member

Returns

bool

IsStepCompleted

this.IsStepCompleted
Member

Returns

bool

IsFaulted

this.IsFaulted
Member

Returns

bool

IsStepFailed

this.IsStepFailed
Member

Returns

bool

IsSignalReceived

this.IsSignalReceived
Member

Returns

bool

IsResumed

this.IsResumed
Member

Returns

bool

Started

Started(input, at, traceparent, parent)
Member

Parameters

NameTypeDescription
inputPayload
atDateTime
traceparentstring option
parentstring option

Returns

unit

StepScheduled

StepScheduled(path, name, kind, at, detail)
Member
A step's start. `detail` is the due time of a timer or of a signal wait's timeout, in round-trip format, and the child's ID for a step that starts or waits for a child (stored since 7.7.3). Other steps store `None`.

Parameters

NameTypeDescription
pathstring
namestring
kindStepKind
atDateTime
detailstring option

Returns

unit

StepCompleted

StepCompleted(path, name, kind, result, at)
Member

Parameters

NameTypeDescription
pathstring
namestring
kindStepKind
resultPayload
atDateTime

Returns

unit

StepFailed

StepFailed(path, name, kind, error, at)
Member

Parameters

NameTypeDescription
pathstring
namestring
kindStepKind
errorStepError
atDateTime

Returns

unit

SignalReceived

SignalReceived(name, payload, at, traceparent)
Member

Parameters

NameTypeDescription
namestring
payloadPayload
atDateTime
traceparentstring option

Returns

unit

CancelRequested

CancelRequested at
Member

Parameters

NameTypeDescription
atDateTime

Returns

unit

Finished

Finished(result, at)
Member

Parameters

NameTypeDescription
resultPayload
atDateTime

Returns

unit

Faulted

Faulted(error, at)
Member

Parameters

NameTypeDescription
errorStepError
atDateTime

Returns

unit

Cancelled

Cancelled at
Member

Parameters

NameTypeDescription
atDateTime

Returns

unit

Resumed

Resumed(path, at)
Member
A faulted instance was resumed: the failure of the step at `path` is set aside, and the body runs that step again, with its earlier key. Stored since 7.12.0, which earlier versions cannot read.

Parameters

NameTypeDescription
pathstring
atDateTime

Returns

unit