update_workflow
Modify workflow settings in ServiceNow by updating attributes like name, description, active status, and associated table using the Workflow ID.
Instructions
Update an existing workflow in ServiceNow
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| params | Yes |
Input Schema (JSON Schema)
{
"$defs": {
"UpdateWorkflowParams": {
"description": "Parameters for updating a workflow.",
"properties": {
"active": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"default": null,
"description": "Whether the workflow is active",
"title": "Active"
},
"attributes": {
"anyOf": [
{
"type": "object"
},
{
"type": "null"
}
],
"default": null,
"description": "Additional attributes for the workflow",
"title": "Attributes"
},
"description": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Description of the workflow",
"title": "Description"
},
"name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Name of the workflow",
"title": "Name"
},
"table": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Table the workflow applies to",
"title": "Table"
},
"workflow_id": {
"description": "Workflow ID or sys_id",
"title": "Workflow Id",
"type": "string"
}
},
"required": [
"workflow_id"
],
"title": "UpdateWorkflowParams",
"type": "object"
}
},
"properties": {
"params": {
"$ref": "#/$defs/UpdateWorkflowParams"
}
},
"required": [
"params"
],
"title": "update_workflowArguments",
"type": "object"
}