list_workflow_versions
Retrieve and list versions of a specific workflow in ServiceNow using a defined workflow ID, with options to set limits and offsets for returned records.
Instructions
List workflow versions from ServiceNow
Input Schema
Name | Required | Description | Default |
---|---|---|---|
params | Yes |
Input Schema (JSON Schema)
{
"$defs": {
"ListWorkflowVersionsParams": {
"description": "Parameters for listing workflow versions.",
"properties": {
"limit": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": 10,
"description": "Maximum number of records to return",
"title": "Limit"
},
"offset": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": 0,
"description": "Offset to start from",
"title": "Offset"
},
"workflow_id": {
"description": "Workflow ID or sys_id",
"title": "Workflow Id",
"type": "string"
}
},
"required": [
"workflow_id"
],
"title": "ListWorkflowVersionsParams",
"type": "object"
}
},
"properties": {
"params": {
"$ref": "#/$defs/ListWorkflowVersionsParams"
}
},
"required": [
"params"
],
"title": "list_workflow_versionsArguments",
"type": "object"
}