WorkflowStatusUnion

PackageFCQRS.Workflows
Where a workflow instance is.

Specification

Kind
Union
Members
13
Examples
0
IsWaitingForSignature
this.IsWaitingFor
IsRunningSignature
this.IsRunning
IsCompletedSignature
this.IsCompleted
IsFailedSignature
this.IsFailed
IsNotStartedSignature
this.IsNotStarted

Summary

NameSignatureSynopsis
IsWaitingForthis.IsWaitingForWhether the body is waiting on a step with this name, such as a signal wait, whose step is named after its signal.
IsRunningthis.IsRunningNo description available.
IsCompletedthis.IsCompletedNo description available.
IsFailedthis.IsFailedNo description available.
IsNotStartedthis.IsNotStartedNo description available.
IsCancelledthis.IsCancelledNo description available.
IsParkedthis.IsParkedNo description available.
NotStartedNotStartedNo workflow with this ID has been started.
RunningRunning pendingThe body is waiting on these steps, given as "path name".
ParkedParked reasonThe journal no longer matches the workflow's code.
CompletedCompletedThe body returned.
FailedFailed StepErrorThe body threw an exception it did not handle.
CancelledCancelledThe workflow was cancelled.

IsWaitingFor

this.IsWaitingFor
Member
Whether the body is waiting on a step with this name, such as a signal wait, whose step is named after its signal. `false` for an instance that is not running.

Parameters

NameTypeDescription
stepstring

Returns

bool

IsRunning

this.IsRunning
Member

Returns

bool

IsCompleted

this.IsCompleted
Member

Returns

bool

IsFailed

this.IsFailed
Member

Returns

bool

IsNotStarted

this.IsNotStarted
Member

Returns

bool

IsCancelled

this.IsCancelled
Member

Returns

bool

IsParked

this.IsParked
Member

Returns

bool

NotStarted

NotStarted
Member
No workflow with this ID has been started.

Returns

unit

Running

Running pending
Member
The body is waiting on these steps, given as "path name".

Parameters

NameTypeDescription
pendingstring list

Returns

unit

Parked

Parked reason
Member
The journal no longer matches the workflow's code. The instance runs nothing until matching code is deployed.

Parameters

NameTypeDescription
reasonstring

Returns

unit

Completed

Completed
Member
The body returned.

Returns

unit

Failed

Failed StepError
Member
The body threw an exception it did not handle.

Parameters

NameTypeDescription
ItemStepError

Returns

unit

Cancelled

Cancelled
Member
The workflow was cancelled.

Returns

unit