Task Entity OptionSet Attribute Metadata
[Applies to: Microsoft Dynamics CRM 2011]
The task 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 task entity.
LogicalName | Type | OptionValue | OptionDescription |
---|---|---|---|
prioritycode |
Picklist |
0 |
Low |
Picklist |
1 |
Normal |
|
Picklist |
2 |
High |
|
statecode |
State |
0 |
Open |
State |
1 |
Completed |
|
State |
2 |
Canceled |
|
statuscode |
Status |
2 |
Not Started |
Status |
3 |
In Progress |
|
Status |
4 |
Waiting on someone else |
|
Status |
5 |
Completed |
|
Status |
6 |
Canceled |
|
Status |
7 |
Deferred |
Statecode to Statuscode Mapping
The following table shows the mapping between the default statecode and statuscode picklist values.
State | State value | Status | Status value |
---|---|---|---|
Open |
0 |
Not Started |
2 |
Open |
0 |
In Progress |
3 |
Open |
0 |
Waiting on someone else |
4 |
Open |
0 |
Deferred |
7 |
Completed |
1 |
Completed |
5 |
Canceled |
2 |
Canceled |
6 |
See Also
Concepts
Task, Fax, Phone Call, and Letter Activity Entities
Task Entity Metadata
Task Entity Messages and Methods
Task Entity Privileges
Microsoft Dynamics CRM 2011
Send comments about this topic to Microsoft.
© 2013 Microsoft Corporation. All rights reserved.