ProcessSession (Dialog Session) Entity OptionSet Attribute Metadata

[Applies to: Microsoft Dynamics CRM 2011]

The process session (dialog session) 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 process session (dialog session) entity.

LogicalName Type OptionValue OptionDescription

statecode

State

0

Incomplete

State

1

Complete

statuscode

Status

1

Not Started

Status

2

In Progress

Status

3

Paused

Status

4

Completed

Status

5

Canceled

Status

6

Failed

Statecode to Statuscode Mapping

The following table shows the mapping between the default statecode and statuscode picklist values.

State State value Status Status value

Incomplete

0

Not Started

1

Incomplete

0

In Progress

2

Incomplete

0

Paused

3

Complete

1

Completed

4

Complete

1

Canceled

5

Complete

1

Failed

6

See Also

Concepts

Workflow and Process Entities for Microsoft Dynamics CRM
ProcessSession (Dialog Session) Entity Metadata
ProcessSession (Dialog Session) Entity Messages and Methods

Microsoft Dynamics CRM 2011
Send comments about this topic to Microsoft.
© 2013 Microsoft Corporation. All rights reserved.