Get record
Read one record by sys_id.
Command in the ServiceNow toolkit · id ooa.servicenow/get_record · 9 inputs (2 required), 1 output
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. | |
| Record sys_id | String | Yes | Record sys_id. | |
| User | String | No | User name. | |
| Password | Credential | No | Password from the vault. | |
| Access token | Credential | No | OAuth token from the vault. | |
| Fields | List | No | Fields to return; all when empty. | |
| Display value | String | No | true | true: display values (e.g. user names); false: stored values (e.g. sys_ids); all: both, as field and dv_field. |
| 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 |
|---|---|---|
| record | Dictionary | Field values. |