WorkflowStatus enumeration
An enumeration that represents the runtime status of a workflow instance.
Namespace: Microsoft.SharePoint.WorkflowServices
Assembly: Microsoft.SharePoint.WorkflowServicesBase (in Microsoft.SharePoint.WorkflowServicesBase.dll)
Syntax
'Declaration
<ClientCallableTypeAttribute(Name := "WorkflowStatus", ServerTypeId := "{84ea789a-7712-4ca7-b99e-941b0a3de504}")> _
Public Enumeration WorkflowStatus
'Usage
Dim instance As WorkflowStatus
[ClientCallableTypeAttribute(Name = "WorkflowStatus", ServerTypeId = "{84ea789a-7712-4ca7-b99e-941b0a3de504}")]
public enum WorkflowStatus
Members
Member name | Description | |
---|---|---|
NotStarted | The workflow instance has not started. | |
Started | The workflow instance has started and is running. | |
Suspended | Execution of the workflow has been stopped, but may be resumed. | |
Canceling | The workflow instance has received a cancel command and is responding to the request. | |
Canceled | Execution of the specified workflow instance is canceled but executes the workflow’s cancelation scope. | |
Terminated | Terminates the running workflow instance and raises the Completed event in the host. Once the workflow is terminated, it cannot be resumed. | |
Completed | The workflow instance has finished running. | |
NotSpecified | No status has been specified. | |
Invalid | The workflow instance is in an invalid state. |
Remarks
These enumeration values are consumed by the Status property.