Updates an existing incident in ServiceNow using the Table API.
For authentication setup, see ServiceNow Incident actions.
Input Field | Optionality | Type | Description | Example |
|---|---|---|---|---|
domain | Required | String | Domain of the ServiceNow instance. Used to construct the base URL |
|
apiKey | Required | String | ServiceNow REST API Key for authentication. Passed as the |
|
sysId | Required | String | Unique system ID of the incident to update. Must be a 32-character alphanumeric string (not UUID format). |
|
fields | Required | Map | Incident fields to update in the ServiceNow incident. See the fields reference table below. |
See JSON object format for a sample object. |
parameters | Optional | Map | Optional URL query parameters for the ServiceNow API request. Controls the format and content of the API response. See the parameters reference table below. |
See now_table_api_latest_spec.json or Export to OpenAPI specification for a list of accepted parameters. |
selectors | Optional | List |
|
Common URL Parameters reference
Parameter | Type | Description | Default |
|---|---|---|---|
sysparm_fields | String | Comma-separated list of fields to return in the response. | |
sysparm_exclude_reference_link | String |
|
|
sysparm_display_value | String |
|
|
sysparm_input_display_value | String |
|
|
sysparm_suppress_auto_sys_field | String |
|
|
sysparm_view | String | Renders the response according to a specific UI view. Overridden by |
|
sysparm_query_no_domain | String |
|
|
incidentData Fields reference
Field | Type |
|---|---|
short_description | String |
description | String |
caller_id | String |
category | String |
subcategory | String |
urgency | String |
impact | String |
priority | String |
assignment_group | String |
assigned_to | String |
state | String |
contact_type | String |
business_service | String |
cmdb_ci | String |
comments | String |
work_notes | String |
opened_by | String |
opened_at | String |
correlation_id | String |
correlation_display | String |
close_code | String |
close_notes | String |
resolved_by | String |
resolved_at | String |
Output Field | Type | Example |
|---|---|---|
response | Object | |
success | Boolean |
|
errorMessage | String | |
Workflow example |
|---|
|