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

    Type Alias CatalogUiPolicyConfig

    CatalogUiPolicyConfig: {
        actions?: CatalogUiPolicyAction[];
        active?: boolean;
        appliesOnCatalogItemView?: boolean;
        appliesOnCatalogTasks?: boolean;
        appliesOnRequestedItems?: boolean;
        appliesOnTargetRecord?: boolean;
        catalogCondition?: string;
        description?: string;
        executeIfFalse?: string;
        executeIfTrue?: string;
        global?: boolean;
        isolateScript?: boolean;
        onLoad?: boolean;
        order?: number;
        reverseIfFalse?: boolean;
        runScripts?: boolean;
        runScriptsInUiType?: CatalogUiPolicyUIType;
        shortDescription: string;
        vaSupported?: boolean;
    } & CatalogUiPolicyTarget

    Interface for catalog UI policy configuration

    Type Declaration

    • Optionalactions?: CatalogUiPolicyAction[]

      Actions to take when the policy is triggered

    • Optionalactive?: boolean

      Whether the UI policy is active

    • OptionalappliesOnCatalogItemView?: boolean

      Whether the policy applies when viewing the catalog item

    • OptionalappliesOnCatalogTasks?: boolean

      Whether the policy applies on catalog tasks

    • OptionalappliesOnRequestedItems?: boolean

      Whether the policy applies on requested items

    • OptionalappliesOnTargetRecord?: boolean

      Whether the policy applies on the target record

    • OptionalcatalogCondition?: string

      Condition to determine when the policy applies to the catalog

    • Optionaldescription?: string

      Detailed description of the UI policy

    • OptionalexecuteIfFalse?: string

      Script to execute when the policy condition is false

    • OptionalexecuteIfTrue?: string

      Script to execute when the policy condition is true

    • Optionalglobal?: boolean

      Whether the UI policy applies globally

    • OptionalisolateScript?: boolean

      Whether to isolate the script execution context

    • OptionalonLoad?: boolean

      Whether the UI policy runs on page load

    • Optionalorder?: number

      Order in which the policy should be evaluated

    • OptionalreverseIfFalse?: boolean

      Whether to reverse the policy condition logic

    • OptionalrunScripts?: boolean

      Whether the UI policy runs scripts

    • OptionalrunScriptsInUiType?: CatalogUiPolicyUIType

      UI type(s) where the policy should run

    • shortDescription: string

      Short description of the UI policy

    • OptionalvaSupported?: boolean

      Whether the policy is supported for virtual agents