Resolve Incident
resolve_incidentResolve an incident by updating its state to Resolved and providing resolution notes. Use this to close active incidents with a close code and notes.
Instructions
Resolve an incident by setting state to Resolved (6) with resolution notes. IMPORTANT: This changes the incident state. The incident must typically be in an active state (New, In Progress, On Hold) for this to succeed.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| instance | No | The ServiceNow instance auth alias to use. This is the alias configured via `snc configure` (e.g., "myinstance", "prod", "test"). The user will typically refer to this by name when saying things like "on my myinstance instance". If not provided, falls back to the SN_AUTH_ALIAS environment variable. | |
| sys_id | Yes | The sys_id of the incident to resolve. | |
| resolution_notes | Yes | Notes describing how the incident was resolved. These become the close_notes on the record. | |
| close_code | No | The close code for the resolution (e.g., "Solved (Permanently)", "Solved (Work Around)", "Not Solved (Not Reproducible)"). |