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

    Function CheckboxVariable

    • A CatalogItem variable for a checkbox field.

      Parameters

      • config: CheckboxVariableType

        Configuration for the checkbox variable including:

        • question - Question text displayed to the user
        • defaultValue? - Default value for the variable
        • selectionRequired? - Indicates whether the checkbox must be selected
        • hidden? - Indicates whether the checkbox is hidden
        • readOnly? - Indicates whether the checkbox is read only
        • And all other properties from the base Variable type

      Returns CheckboxVariableType<boolean, boolean>