Member Junction
    Preparing search index...

    Interface IStateTransitionRule

    interface IStateTransitionRule {
        allowedOperations?: string[];
        allowedRoles?: string[];
        clearedFieldsOnTransition?: string[];
        errorMessage?: string;
        from: string;
        requiredFieldsOnEnter?: string[];
        requireServerOperation?: boolean;
        to: string;
    }
    Index

    Properties

    allowedOperations?: string[]

    Specific server operation keys (e.g. ['Accounting.PostBatch']) allowed to perform this transition.

    allowedRoles?: string[]

    Optional role names or Role IDs permitted to perform this transition (matched against UserInfo.UserRoles).

    clearedFieldsOnTransition?: string[]

    Entity fields that must be null or empty string when taking this transition.

    errorMessage?: string

    Custom human-readable refusal message when this rule rejects a transition.

    from: string

    Source state value, or '*' to match any non-terminal stored state.

    requiredFieldsOnEnter?: string[]

    Entity fields that must be non-null and non-blank when entering to.

    requireServerOperation?: boolean

    When true, this transition may only occur inside an active authorized ServerOperationScopeFrame.

    to: string

    Target state value.