Create record
Create a record, e.g. an incident; returns its sys_id and number.
Command in the ServiceNow toolkit · id ooa.servicenow/create_record · 8 inputs (2 required), 3 outputs
Inputs
| Input | Type | Required | Default | What it is |
|---|---|---|---|---|
| Instance address (URL) | String | No | Instance URL, e.g. https://yourcompany.service-now.com. | |
| Table | String | Yes | Table name. | |
| Fields | Dictionary | Yes | Field name to value, e.g. {"short_description": "...", "urgency": "2"}. | |
| User | String | No | User name. | |
| Password | Credential | No | Password from the vault. | |
| Access token | Credential | No | OAuth token from the vault. | |
| Input display value | Boolean | No | false | Values are display values (e.g. a user's name for caller_id) that the instance should look up. |
| API version | String | No | Version of the ServiceNow REST API to call: v1, v2, or latest (the instance's current one) when empty (G6). |
Outputs
| Output | Type | What it is |
|---|---|---|
| sys_id | String | New sys_id. |
| number | String | Record number, e.g. INC0012345. |
| record | Dictionary | The new record as the instance returned it. |