@servicenow/sdk - v4.7.0
    Preparing search index...

    Type Alias CatalogUiPolicyAction

    Interface for catalog UI policy action configuration

    type CatalogUiPolicyAction = {
        cleared?: boolean;
        mandatory?: boolean;
        order?: number;
        readOnly?: boolean;
        value?: string;
        valueAction?: ValueAction;
        variableMessage?: string;
        variableMessageType?: FieldMessageType;
        variableName: string | VariableReference;
        visible?: boolean;
    }
    Index

    Properties

    cleared?: boolean

    Whether the field should be cleared when the policy is triggered

    mandatory?: boolean

    Whether the field should be mandatory

    order?: number

    Order in which the action should be executed

    readOnly?: boolean

    Whether the field should be disabled

    value?: string

    Value to set when the policy is triggered

    valueAction?: ValueAction

    Action to take on the field value

    variableMessage?: string

    Message to display on the field

    variableMessageType?: FieldMessageType

    Type of field message to display

    variableName: string | VariableReference

    Name of the variable this action applies to

    visible?: boolean

    Whether the field should be visible