Find Task by Number
find_taskFind a task record by its number (e.g., INC0010001) and return full details or a clear message if not found. Use to check state, look up sys_ids, or retrieve task details before taking action.
Instructions
Find a task record by its number (e.g., "INC0010001", "CHG0030002"). Returns the full record if found, or a clear message if not. Use this to look up sys_ids, check current state, or retrieve task details before performing actions like assigning or resolving.
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 to search in (e.g., "incident", "change_request", "problem", "sc_task"). | |
| number | Yes | The task number to find (e.g., "INC0010001", "CHG0030002", "PRB0040001"). |