Update Knowledge Article
update_kb_articleUpdate specific fields of a ServiceNow knowledge article without affecting others. Modify title, content, category, or workflow state by providing only the fields to change.
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 |
|---|---|---|---|
| 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. | |
| sys_id | Yes | The sys_id of the article to update. | |
| short_description | No | Updated article title. | |
| text | No | Updated body content in HTML format. | |
| wiki | No | Updated body content in wiki markup format. | |
| knowledge_base_sys_id | No | Move the article to a different knowledge base. | |
| category_sys_id | No | Change the article's category. | |
| workflow_state | No | Change the workflow state ('draft', 'published', 'retired'). | |
| article_type | No | Change the article type. | |
| active | No | Set the article's active flag. | |
| additional_fields | No | Optional additional fields to update as key-value pairs. |