Partager via


EntityMetadata.EnforceStateTransitions Property

Definition

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.

Applies to