WorkflowInstanceState Enum

Definition

Specifies the state of a WorkflowInstance.

C#
public enum WorkflowInstanceState
Inheritance
WorkflowInstanceState

Fields

Name Value Description
Idle 0

The WorkflowInstance is idle. A workflow in this state is waiting on an incoming event, such as when executing a Pick activity, or is waiting for the expiration of a timeout, such as when executing a Delay activity.

Runnable 1

The WorkflowInstance can be run. A workflow in this state has been created but Run has not been called.

Complete 2

The WorkflowInstance is complete. A workflow in this state has exited, and its Completed delegate or InvokeCompleted event has executed.

Aborted 3

The WorkflowInstance is aborted. The workflow instance will be in this state after Abort has been called. A workflow in this state is capable of being resumed using Run.

Applies to

Product Versions
.NET Framework 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1