EntityMetadata.EnforceStateTransitions Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets whether the entity will enforce custom state transitions.
public:
property Nullable<bool> EnforceStateTransitions { Nullable<bool> get(); };
[System.Runtime.Serialization.DataMember]
public bool? EnforceStateTransitions { get; }
[<System.Runtime.Serialization.DataMember>]
member this.EnforceStateTransitions : Nullable<bool>
Public ReadOnly Property EnforceStateTransitions As Nullable(Of Boolean)
Property Value
true
if the entity supports custom status transitions; otherwise, false
.
- Attributes
Remarks
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.