Export (0) Print
Expand All

WorkflowStatus enumeration

SharePoint 2013

An enumeration that represents the runtime status of a workflow instance.

Namespace:  Microsoft.SharePoint.WorkflowServices
Assembly:  Microsoft.SharePoint.WorkflowServicesBase (in Microsoft.SharePoint.WorkflowServicesBase.dll)

[ClientCallableTypeAttribute(Name = "WorkflowStatus", ServerTypeId = "{84ea789a-7712-4ca7-b99e-941b0a3de504}")]
public enum WorkflowStatus

Member nameDescription
NotStartedThe workflow instance has not started.
StartedThe workflow instance has started and is running.
SuspendedExecution of the workflow has been stopped, but may be resumed.
CancelingThe workflow instance has received a cancel command and is responding to the request.
CanceledExecution of the specified workflow instance is canceled but executes the workflow’s cancelation scope.
TerminatedTerminates the running workflow instance and raises the Completed event in the host. Once the workflow is terminated, it cannot be resumed.
CompletedThe workflow instance has finished running.
NotSpecifiedNo status has been specified.
InvalidThe workflow instance is in an invalid state.

These enumeration values are consumed by the Status property.

Show:
© 2015 Microsoft