create_catalog_item_variable
Add a custom form field (variable) to a ServiceNow catalog item by specifying name, type, label, and optional properties like mandatory or default value.
Instructions
Create a new variable (form field) on a catalog item.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| max | No | ||
| min | No | ||
| name | Yes | Internal name of the variable | |
| type | Yes | Variable type, e.g. string, integer, boolean, reference | |
| label | Yes | Display label (question text) | |
| order | No | ||
| help_text | No | ||
| mandatory | No | ||
| max_length | No | ||
| description | No | ||
| default_value | No | ||
| catalog_item_id | Yes | sys_id or name of the catalog item | |
| reference_table | No | For reference-type variables, the table to reference | |
| reference_qualifier | No |