StatusOptionMetadata.TransitionData Property
Applies To: Dynamics CRM 2015
Gets or sets the status transitions allowed for this status.
Namespace: Microsoft.Xrm.Sdk.Metadata
Assembly: Microsoft.Xrm.Sdk (in Microsoft.Xrm.Sdk.dll)
[DataMemberAttribute]
public string TransitionData { get; set; }
public:
[DataMemberAttribute]
property String^ TransitionData {
String^ get();
void set(String^ value);
}
[<DataMemberAttribute>]
member TransitionData : string with get, set
<DataMemberAttribute>
Public Property TransitionData As String
Type: System.String
Type: String
The encoded XML document that defines the allowed transitions.
When the EntityMetadata.EnforceTransitions property is true, the data in this property defines which status changes are allowed. The document defines both the current status sourcestatusid and the allowed status values tostatusid.
<allowedtransitions xmlns="https://schemas.microsoft.com/crm/2009/WebServices">
<allowedtransition sourcestatusid="1" tostatusid="6" />
</allowedtransitions>
Information about the statecode value that corresponds to the allowed status values is available by querying the StatusOptionMetadata.State property of the option with the StatusOptionMetadata.Value that corresponds to the tostatusid value.
More information:Define custom state model transitions
StatusOptionMetadata Class
Microsoft.Xrm.Sdk.Metadata Namespace
Return to top
© 2016 Microsoft. All rights reserved. Copyright