create_catalog_item_variable
Generate and configure a new variable for a catalog item in ServiceNow, specifying type, label, mandatory status, default value, and other attributes for efficient catalog management.
Instructions
Create a new catalog item variable
Input Schema
Name | Required | Description | Default |
---|---|---|---|
catalog_item_id | Yes | The sys_id of the catalog item | |
default_value | No | Default value for the variable | |
description | No | Description of the variable | |
help_text | No | Help text to display with the variable | |
label | Yes | The display label for the variable | |
mandatory | No | Whether the variable is required | |
max | No | Maximum value for numeric fields | |
max_length | No | Maximum length for string fields | |
min | No | Minimum value for numeric fields | |
name | Yes | The name of the variable (internal name) | |
order | No | Display order of the variable | |
reference_qualifier | No | For reference fields, the query to filter reference options | |
reference_table | No | For reference fields, the table to reference | |
type | Yes | The type of variable (e.g., string, integer, boolean, reference) |