ServiceNow MCP Server

by osomai
Verified

add_workflow_activity

Add a new activity (e.g., approval, task, notification) to a workflow in ServiceNow by specifying the workflow version ID, activity type, name, and optional attributes.

Instructions

Add a new activity to a workflow in ServiceNow

Input Schema

NameRequiredDescriptionDefault
paramsYes

Input Schema (JSON Schema)

{ "$defs": { "AddWorkflowActivityParams": { "description": "Parameters for adding an activity to a workflow.", "properties": { "activity_type": { "description": "Type of activity (e.g., 'approval', 'task', 'notification')", "title": "Activity Type", "type": "string" }, "attributes": { "anyOf": [ { "type": "object" }, { "type": "null" } ], "default": null, "description": "Additional attributes for the activity", "title": "Attributes" }, "description": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "description": "Description of the activity", "title": "Description" }, "name": { "description": "Name of the activity", "title": "Name", "type": "string" }, "workflow_version_id": { "description": "Workflow version ID", "title": "Workflow Version Id", "type": "string" } }, "required": [ "workflow_version_id", "name", "activity_type" ], "title": "AddWorkflowActivityParams", "type": "object" } }, "properties": { "params": { "$ref": "#/$defs/AddWorkflowActivityParams" } }, "required": [ "params" ], "title": "add_workflow_activityArguments", "type": "object" }
ID: wfdzusqbvb