publish_article
Submit and set the workflow state of a knowledge article to publish it on ServiceNow using the specified article ID and version.
Instructions
Publish a knowledge article
Input Schema
Name | Required | Description | Default |
---|---|---|---|
params | Yes |
Input Schema (JSON Schema)
{
"$defs": {
"PublishArticleParams": {
"description": "Parameters for publishing a knowledge article.",
"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"
],
"title": "PublishArticleParams",
"type": "object"
}
},
"properties": {
"params": {
"$ref": "#/$defs/PublishArticleParams"
}
},
"required": [
"params"
],
"title": "publish_articleArguments",
"type": "object"
}