Create Record

Creates a new record in a ServiceNow account.

Syntax

Below is a line-by-line overview of the automation syntax. Expand each line to learn more.

create the record in {table name}

What does it do? This is the base syntax for the procedure.

Where does it go? This phrase should be written on a new line.

Is it required? ✅ Yes — This phrase is required in the syntax.

Does it require input data? ✅ Yes — This phrase requires a reference to the record and a table name to be specified.

Examples

1. Create a new incident in the 'incident' table with the specified attributes.

create a json
use the above as the incident
set the incident's "short_description" to "Test Incident"
set the incident's "urgency" to "1"
set the incident's "impact" to "1"
create the incident in "incident"

Last updated

Was this helpful?