catalog-submit-producer command submits a record producer using the Service Catalog API. Returns the created record number and sys_id. Record producers create records in target tables (e.g., incident, sc_task) via the service catalog interface.Submit a record producer via the Service Catalog API.
catalog-submit-producer command submits a record producer using the Service Catalog API. Returns the created record number and sys_id. Record producers create records in target tables (e.g., incident, sc_task) via the service catalog interface.sn catalog-submit-producer <producer_sys_id> [--vars '{...}'] [--json] Submit a record producer via the Service Catalog API.
| Name | Required | Description |
|---|---|---|
| producer_sys_id | Yes | sys_id of the record producer (sc_cat_item table with sys_class_name=sc_cat_item_producer). |
| Flag | Default | Description |
|---|---|---|
| --vars | — | JSON object of variable name/value pairs. |
| --json | — | Output full result as JSON. |
sn catalog-submit-producer 3f1dd0320a0a0b99000a53f7604a2ef9 --vars '{"urgency":"2","comments":"Test"}'