Resolves 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 resolve. Must be a 32-character alphanumeric string (not UUID format). |
|
closeCode | Required | String | Close code for the incident. See the close code reference table below. |
|
closeNotes | Required | String | Closing notes describing how the incident was resolved. |
|
resolvedAt | Optional | String | Timestamp when the incident was resolved. |
|
resolvedBy | Optional | String | Username of the person who resolved the incident. |
|
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 |
|
|
Close code reference
Close code |
|---|
Duplicate |
User error |
Known error |
No resolution provided |
Resolved by caller |
Resolved by change |
Resolved by problem |
Resolved by request |
Solution provided |
Workaround provided |
Output Field | Type | Example |
|---|---|---|
response | Object | |
success | Boolean |
|
errorMessage | String | |
Workflow example |
|---|
|