WORKFLOW_PROCESS_INSTANCE_STATE Class
The WORKFLOW_PROCESS_INSTANCE_STATE class lists process instance states, used for the process instance statecode field. Please note that although the APIs may accept any value, these are the valid values for this field.
This class does not need instantiation or initialization because the fields represent constant integer values. These values are intended to be used when constructing XML string parameters used in the Microsoft CRM APIs.
System.Object
WORKFLOW_PROCESS_INSTANCE_STATE
[Visual Basic .NET]
Public Class WORKFLOW_PROCESS_INSTANCE_STATE
Inherits System.Object
[C#]
public class WORKFLOW_PROCESS_INSTANCE_STATE: System.Object
[C++]
public __gc class WORKFLOW_PROCESS_INSTANCE_STATE: public System.Object
The WORKFLOW_PROCESS_INSTANCE_STATE class exposes the following integer fields.
Field | Value | Description |
WFPIS_ABORTED | 5 | Specifies that the process is aborted. |
WFPIS_ACTIVE | 1 | Specifies that the process instance is active. |
WFPIS_COMPLETED | 4 | Specifies that the process is completed. |
WFPIS_INIT | 0 | Specifies that the process instance is initialized but not active yet. |
WFPIS_PAUSED | 3 | Specifies that the process is paused. |
WFPIS_WAITING | 2 | Specifies that the process is in a waiting state. |
Requirements
Namespace: Microsoft.Crm.Platform.Types
Assembly: Microsoft.Crm.Platform.Types.dll
See Also