Procedures
Automation procedures in the ServiceNow book.
Ensure that you have installed or connected the ServiceNow book and created a new playground before using these automation procedures.
to create a (record) in a table name
Creates a new record in a ServiceNow account.
Input Concepts
table name
The table name in which the record will be created.
text
Yes
(no default)
Output Concepts
Examples
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"to delete some records
Deletes records from ServiceNow using batch processing.
Input Concepts
Examples
Delete incidents in the 'incident' table.
to retrieve some (records) from servicenow
Retrieves a list of ServiceNow records based on the specified filters.
Input Concepts
table name
The table name from which to retrieve records.
text
Yes
(no default)
limit
The limit of objects brought by the call.
text
No
(no default)
Output Concepts
Examples
Retrieve all incidents from the 'incident' table.
Retrieve all incidents from the 'incident' table whose number is 'INC0010001'.
Retrieve all incidents from the 'incident' table whose created date is after '2022-01-01'.
Retrieve 5 incidents from the 'incident' table.
to update a record
Updates a record in ServiceNow, identified by its incident number, with specified attributes and their new values.
Input Concepts
Output Concepts
Examples
Update an incident in the 'incident' table with the specified attributes.
Last updated
Was this helpful?
