Submit Catalog Request
submit_catalog_requestSubmits a service catalog request to ServiceNow via the order_now API and returns the request (REQ) and request item (RITM) numbers.
Instructions
Submit a service catalog request using the ServiceNow order_now API. Returns the request (REQ) and request item (RITM) numbers.
IMPORTANT: This creates a real service request on the instance. Use list_catalog_item_variables first to understand what variables are required. Variable values should be passed as a key-value object where keys are the variable names and values are strings. For reference-type variables, pass the sys_id of the referenced record.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| instance | No | The ServiceNow instance auth alias to use. This is the alias configured via `now-sdk auth --add` (e.g., "myinstance", "prod", "test"). The user will typically refer to this by name when saying things like "on my myinstance instance". If not provided, falls back to the SN_AUTH_ALIAS environment variable. | |
| catalog_item_sys_id | Yes | The sys_id of the catalog item to order. | |
| quantity | No | Number of items to request (default 1). | |
| variables | No | Variable values for the catalog item form as key-value pairs. Keys are variable names, values are strings. For reference fields, use the sys_id of the referenced record. |