Skip to main content

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​

InputTypeRequiredDefaultWhat it is
Instance address (URL)StringNoInstance URL, e.g. https://yourcompany.service-now.com.
TableStringYesTable name.
FieldsDictionaryYesField name to value, e.g. {"short_description": "...", "urgency": "2"}.
UserStringNoUser name.
PasswordCredentialNoPassword from the vault.
Access tokenCredentialNoOAuth token from the vault.
Input display valueBooleanNofalseValues are display values (e.g. a user's name for caller_id) that the instance should look up.
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
sys_idStringNew sys_id.
numberStringRecord number, e.g. INC0012345.
recordDictionaryThe new record as the instance returned it.