Resolves an existing incident in ServiceNow using the Table API.
For authentication setup, see ServiceNow Incident actions.
Input | Type | Description | Example |
|---|---|---|---|
domain | String | Required. Domain of the ServiceNow instance. Used to construct the base URL |
|
apiKey | String | Required. ServiceNow REST API Key for authentication. Passed as the |
|
sysId | String | Required. Unique system ID of the incident to resolve. Must be a 32-character alphanumeric string (not UUID format). |
|
closeCode | String | Required. Close code for the incident. See the close code reference table below. |
|
closeNotes | String | Required. Closing notes describing how the incident was resolved. |
|
resolvedAt | String | Optional. Timestamp when the incident was resolved. |
|
resolvedBy | String | Optional. Username of the person who resolved the incident. |
|
parameters | Map | Optional. 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 | List | Optional. |
|
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 | Type | Example |
|---|---|---|
response | Object | |
success | Boolean |
|
errorMessage | String | |
Workflow example |
|---|
|