reorder_workflow_activities
Reassign the sequence of activities in a ServiceNow workflow by specifying the workflow ID and desired order of activity IDs.
Instructions
Reorder activities in a workflow
Input Schema
Name | Required | Description | Default |
---|---|---|---|
activity_ids | Yes | List of activity IDs in the desired order | |
workflow_id | Yes | Workflow ID or sys_id |
Input Schema (JSON Schema)
{
"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"
}