WorkflowInstanceQuery.States Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
The subscribed states from the tracked workflow instance when the tracking records are created.
public:
property System::Collections::ObjectModel::Collection<System::String ^> ^ States { System::Collections::ObjectModel::Collection<System::String ^> ^ get(); };
public System.Collections.ObjectModel.Collection<string> States { get; }
member this.States : System.Collections.ObjectModel.Collection<string>
Public ReadOnly Property States As Collection(Of String)
Property Value
The workflow states.
Remarks
The returned records are filtered by the states in this collection.
Possible state values are described in the following table.
State | Description |
---|---|
Aborted | The workflow instance is aborted. |
Completed | The workflow instance is completed. |
Deleted | The workflow instance is deleted. |
Idle | The workflow instance is idle. |
Persisted | The workflow instance is persisted. |
Resumed | The workflow instance is resumed. |
Started | The workflow instance is started. |
UnhandledException | The workflow instance encountered an unhandled exception. |
Unloaded | The workflow instance is unloaded. |
Canceled | The workflow instance is canceled. |
Suspended | The workflow instance is suspended. |
Terminated | The workflow instance is terminated. |
Unsuspended | The workflow instance is unsuspended. |
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.