Update Knowledge Article
update_kb_articleUpdate specific fields of an existing ServiceNow knowledge article, leaving unmentioned fields unchanged. Modify title, content, active status, workflow state, or move between knowledge bases.
Instructions
Update an existing knowledge article's fields. Only the fields provided will be modified; all others remain unchanged.
IMPORTANT: This modifies the article on the instance.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | No | Updated body content in HTML format. | |
| wiki | No | Updated body content in wiki markup format. | |
| active | No | Set the article's active flag. | |
| sys_id | Yes | The sys_id of the article to update. | |
| instance | No | The ServiceNow instance auth alias to use. This is the alias configured via `now-sdk auth --add` (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. | |
| article_type | No | Change the article type. | |
| workflow_state | No | Change the workflow state ('draft', 'published', 'retired'). | |
| category_sys_id | No | Change the article's category. | |
| additional_fields | No | Optional additional fields to update as key-value pairs. | |
| short_description | No | Updated article title. | |
| knowledge_base_sys_id | No | Move the article to a different knowledge base. |