Add Task Comment
add_task_commentAdd a comment or internal work note to any ServiceNow task record, such as an incident or change request.
Instructions
Add a comment or work note to any task-based record (incident, change_request, problem, etc.). Comments are customer-visible by default; set is_work_note to true for internal work notes visible only to fulfiller staff.
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. | |
| table | Yes | The table name of the task record (e.g., "incident", "change_request", "problem", "sc_task"). | |
| record_sys_id | Yes | The sys_id of the task record to add the comment to. | |
| comment | Yes | The comment text to add to the record. | |
| is_work_note | No | If true, adds a work note (internal, visible to fulfillers only) instead of a customer-visible comment. Defaults to false. |