WORKFLOW_PROCESS_INSTANCE_EXIT_CODE Class
The WORKFLOW_PROCESS_INSTANCE_EXIT_CODE class lists exit code types for a workflow process instance. It is used to specify the value of the ExitCode parameter for the Halt Action. Please note that although the APIs may accept any value, these are the valid values.
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_EXIT_CODE
[Visual Basic .NET]
Public Class WORKFLOW_PROCESS_INSTANCE_EXIT_CODE
Inherits System.Object
[C#]
public class WORKFLOW_PROCESS_INSTANCE_EXIT_CODE: System.Object
[C++]
public __gc class WORKFLOW_PROCESS_INSTANCE_EXIT_CODE: public System.Object
The WORKFLOW_PROCESS_INSTANCE_EXIT_CODE class exposes the following integer fields.
Field | Value | Description |
WFPIEC_ABORTED | 1 | Specifies the process instance aborted. |
WFPIEC_ALLABORTED | 3 | Specifies the process instance is aborted and stops the instantiation of any other processes by the event that instantiated the process instance. |
WFPIEC_ALLCOMPLETED | 2 | Specifies the process instance exited successfully and stops the instantiation of any other processes by the event that instantiated the process instance. |
WFPIEC_COMPLETED | 0 | Specifies the process instance exited successfully. |
Requirements
Namespace: Microsoft.CRM.Flags
Assembly: microsoft.crm.proxy.dll
See Also
- Microsoft.CRM.Proxy Classes
- Workflow Reference