Approve Change Request
approve_changeApprove a ServiceNow change request by setting its approval field to 'approved'. Optionally include comments with the approval.
Instructions
Approve a change request with optional comments. Sets the approval field to 'approved'. IMPORTANT: This changes the change request's approval status.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sys_id | Yes | The sys_id of the change request to approve. | |
| comments | No | Optional comments to include with the approval. | |
| 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. |