ServiceNow

Create, read, update, and delete ServiceNow records

Configuration

Create Record

Operation
Create Record
Instance URL*
https://instance.service-now.com
Your ServiceNow instance URL (e.g., https://yourcompany.service-now.com)
Username*
Enter your ServiceNow username
ServiceNow user with web service access
Password*
••••••••
Password for the ServiceNow user
Table Name*
incident, task, sys_user, etc.
ServiceNow table name
Fields (JSON)*
json
{\n "short_description": "Issue description",\n "priority": "1"\n}
Create Record (servicenow_create_record)

Create a new record in a ServiceNow table

Input
ParameterTypeRequiredDescription
instanceUrlstringYesServiceNow instance URL (e.g., https://instance.service-now.com\)
usernamestringYesServiceNow username
passwordstringYesServiceNow password
tableNamestringYesTable name (e.g., incident, task, sys_user)
fieldsjsonYesFields to set on the record (JSON object)
Output
ParameterTypeDescription
recordjsonCreated ServiceNow record with sys_id and other fields

Read Records

Operation
Read Records
Instance URL*
https://instance.service-now.com
Your ServiceNow instance URL (e.g., https://yourcompany.service-now.com)
Username*
Enter your ServiceNow username
ServiceNow user with web service access
Password*
••••••••
Password for the ServiceNow user
Table Name*
incident, task, sys_user, etc.
ServiceNow table name
Record sys_id
Specific record sys_id (optional)
Record Number
e.g., INC0010001 (optional)
Query String
active=true^priority=1
ServiceNow encoded query string
Limit
10
Fields to Return
number,short_description,priority
Comma-separated list of fields
Read Records (servicenow_read_record)

Read records from a ServiceNow table

Input
ParameterTypeRequiredDescription
instanceUrlstringYesServiceNow instance URL (e.g., https://instance.service-now.com\)
usernamestringYesServiceNow username
passwordstringYesServiceNow password
tableNamestringYesTable name
sysIdstringNoSpecific record sys_id
numberstringNoRecord number (e.g., INC0010001)
querystringNoEncoded query string (e.g., "active=true^priority=1")
limitnumberNoMaximum number of records to return
fieldsstringNoComma-separated list of fields to return
Output
ParameterTypeDescription
recordsarrayArray of ServiceNow records

Update Record

Operation
Update Record
Instance URL*
https://instance.service-now.com
Your ServiceNow instance URL (e.g., https://yourcompany.service-now.com)
Username*
Enter your ServiceNow username
ServiceNow user with web service access
Password*
••••••••
Password for the ServiceNow user
Table Name*
incident, task, sys_user, etc.
ServiceNow table name
Record sys_id*
Record sys_id to update
Fields to Update (JSON)*
json
{\n "state": "2",\n "assigned_to": "user.sys_id"\n}
Update Record (servicenow_update_record)

Update an existing record in a ServiceNow table

Input
ParameterTypeRequiredDescription
instanceUrlstringYesServiceNow instance URL (e.g., https://instance.service-now.com\)
usernamestringYesServiceNow username
passwordstringYesServiceNow password
tableNamestringYesTable name
sysIdstringYesRecord sys_id to update
fieldsjsonYesFields to update (JSON object)
Output
ParameterTypeDescription
recordjsonUpdated ServiceNow record

Delete Record

Operation
Delete Record
Instance URL*
https://instance.service-now.com
Your ServiceNow instance URL (e.g., https://yourcompany.service-now.com)
Username*
Enter your ServiceNow username
ServiceNow user with web service access
Password*
••••••••
Password for the ServiceNow user
Table Name*
incident, task, sys_user, etc.
ServiceNow table name
Record sys_id*
Record sys_id to delete
Delete Record (servicenow_delete_record)

Delete a record from a ServiceNow table

Input
ParameterTypeRequiredDescription
instanceUrlstringYesServiceNow instance URL (e.g., https://instance.service-now.com\)
usernamestringYesServiceNow username
passwordstringYesServiceNow password
tableNamestringYesTable name
sysIdstringYesRecord sys_id to delete
Output
ParameterTypeDescription
successbooleanWhether the deletion was successful

Usage Instructions

Integrate ServiceNow into your workflow. Create, read, update, and delete records in any ServiceNow table including incidents, tasks, change requests, users, and more.

Notes

  • Category: tools
  • Type: servicenow