reorder_workflow_activities
Reorders activities in a ServiceNow workflow by specifying the workflow ID and a list of activity IDs in the desired sequence. Simplifies workflow management by ensuring proper activity alignment.
Instructions
Reorder activities in a workflow
Input Schema
Name | Required | Description | Default |
---|---|---|---|
params | Yes |
Input Schema (JSON Schema)
{
"$defs": {
"ReorderWorkflowActivitiesParams": {
"description": "Parameters for reordering workflow activities.",
"properties": {
"activity_ids": {
"description": "List of activity IDs in the desired order",
"items": {
"type": "string"
},
"title": "Activity Ids",
"type": "array"
},
"workflow_id": {
"description": "Workflow ID or sys_id",
"title": "Workflow Id",
"type": "string"
}
},
"required": [
"workflow_id",
"activity_ids"
],
"title": "ReorderWorkflowActivitiesParams",
"type": "object"
}
},
"properties": {
"params": {
"$ref": "#/$defs/ReorderWorkflowActivitiesParams"
}
},
"required": [
"params"
],
"title": "reorder_workflow_activitiesArguments",
"type": "object"
}