EntityMetadata.EnforceStateTransitions Property


Updated: November 29, 2016

Applies To: Dynamics 365 (online), Dynamics 365 (on-premises), Dynamics CRM 2016, Dynamics CRM Online

Gets whether the entity will enforce custom state transitions.

Namespace:   Microsoft.Xrm.Sdk.Metadata
Assembly:  Microsoft.Xrm.Sdk (in Microsoft.Xrm.Sdk.dll)

public Nullable<bool> EnforceStateTransitions { get; internal set; }

Property Value

Type: System.Nullable<Boolean>

Type: Nullable<Boolean>
true if the entity supports custom status transitions.; otherwise, false.

This property can only be set using the application. More information: Define custom state model transitions.

Incident (case) is the only system entity that supports custom state transitions. Custom entities may also support custom state transitions. The definitions for the allowed transitions are stored in the StatusOptionMetadata.TransitionData property.

Return to top

Microsoft Dynamics 365

© 2016 Microsoft. All rights reserved. Copyright

Community Additions