Workflow (Process) Entity OptionSet Attribute Metadata
[Applies to: Microsoft Dynamics CRM 2011]
The workflow (process) entity contains a number of attributes with the underlying type of OptionSetMetadata. This includes attributes of type PicklistAttributeMetadata, StateAttributeMetadata, and StatusAttributeMetadata. This topic shows the values for these attributes in a default, uncustomized installation of Microsoft Dynamics CRM. For information on how to generate and use enumerations for these values in your code, see Helper Code: Enumerations for Option Sets.
OptionSet Values
The following table lists the attributes and option set values for the workflow (process) entity.
LogicalName | Type | OptionValue | OptionDescription |
---|---|---|---|
category |
Picklist |
0 |
Workflow |
Picklist |
1 |
Dialog |
|
componentstate |
Picklist |
0 |
Published |
Picklist |
1 |
Unpublished |
|
Picklist |
2 |
Deleted |
|
Picklist |
3 |
Deleted Unpublished |
|
scope |
Picklist |
1 |
User |
Picklist |
2 |
Business Unit |
|
Picklist |
3 |
Parent: Child Business Units |
|
Picklist |
4 |
Organization |
|
statecode |
State |
0 |
Draft |
State |
1 |
Activated |
|
statuscode |
Status |
1 |
Draft |
Status |
2 |
Activated |
|
type |
Picklist |
1 |
Definition |
Picklist |
2 |
Activation |
|
Picklist |
3 |
Template |
Statecode to Statuscode Mapping
The following table shows the mapping between the default statecode and statuscode picklist values.
State | State value | Status | Status value |
---|---|---|---|
Draft |
0 |
Draft |
1 |
Activated |
1 |
Activated |
2 |
See Also
Concepts
Workflow and Process Entities for Microsoft Dynamics CRM
Workflow (Process) Entity Metadata
Workflow (Process) Entity Messages and Methods
Microsoft Dynamics CRM 2011
Send comments about this topic to Microsoft.
© 2013 Microsoft Corporation. All rights reserved.