Skip to main content

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​

InputTypeRequiredDefaultWhat it is
Instance address (URL)StringNoInstance URL, e.g. https://yourcompany.service-now.com.
TableStringYesTable name.
Record sys_idStringYesRecord sys_id.
UserStringNoUser name.
PasswordCredentialNoPassword from the vault.
Access tokenCredentialNoOAuth token from the vault.
FieldsListNoFields to return; all when empty.
Display valueStringNotruetrue: display values (e.g. user names); false: stored values (e.g. sys_ids); all: both, as field and dv_field.
API versionStringNoVersion of the ServiceNow REST API to call: v1, v2, or latest (the instance's current one) when empty (G6).

Outputs​

OutputTypeWhat it is
recordDictionaryField values.