publish_article
Publish a knowledge article in ServiceNow by setting its workflow state to published, making the content available to users according to specified workflow version requirements.
Instructions
Publish a knowledge article
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| article_id | Yes | ID of the article to publish | |
| workflow_state | No | The workflow state to set | published |
| workflow_version | No | The workflow version to use |
Input Schema (JSON Schema)
{
"properties": {
"article_id": {
"description": "ID of the article to publish",
"title": "Article Id",
"type": "string"
},
"workflow_state": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": "published",
"description": "The workflow state to set",
"title": "Workflow State"
},
"workflow_version": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "The workflow version to use",
"title": "Workflow Version"
}
},
"required": [
"article_id"
],
"type": "object"
}