execute_updateset_operation
Manage ServiceNow update set lifecycle operations including creation, tracking, XML reassignment, and data modifications in sandbox environments with automatic pagination for large datasets.
Instructions
Manage ServiceNow update sets with lifecycle operations, XML reassignment, and working set tracking. ā ļø SANDBOX ONLY - modifies update sets. š”ļø Auto-limits large results. Use pagination for big datasets. š Use {{file:path}} for large data.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| operation | Yes | The update set operation to perform. Required. | |
| name | No | Update set name (required for create operation). | |
| description | No | Update set description (optional for create operation). | |
| scope | No | Update set scope (optional, defaults to configured scope). | |
| set_as_working | No | Set the created update set as working set (for create operation). | |
| update_set_sys_id | No | Update set sys_id for operations that require it. | |
| table | No | Table name for insert/update operations. | |
| sys_id | No | Record sys_id for update operations. | |
| data | No | Record data for insert/update operations. Can be single object or array for batch operations. Supports {{file:...}} placeholders to load content from local files. | |
| batch | No | Enable batch mode for multiple record operations. | |
| xml_sys_ids | No | Array of XML sys_ids for rehome operations. | |
| query | No | ServiceNow encoded query string for rehome operations. | |
| force | No | Force reassignment even if XML is not in Default update set. | |
| limit | No | Maximum number of records to return for list/recent operations. | |
| offset | No | Number of records to skip for pagination. | |
| filters | No | Filters for list operations (scope, state, created_by, sys_created_on). | |
| response_mode | No | Response verbosity: full (all data), minimal (essential only), compact (summarized). Default: full | |
| quiet | No | Compact acknowledgment for update operations to avoid RESPONSE_TOO_LARGE errors. Default: false. |
Input Schema (JSON Schema)
{
"properties": {
"batch": {
"description": "Enable batch mode for multiple record operations.",
"type": "boolean"
},
"data": {
"description": "Record data for insert/update operations. Can be single object or array for batch operations. Supports {{file:...}} placeholders to load content from local files.",
"type": "object"
},
"description": {
"description": "Update set description (optional for create operation).",
"type": "string"
},
"filters": {
"description": "Filters for list operations (scope, state, created_by, sys_created_on).",
"type": "object"
},
"force": {
"description": "Force reassignment even if XML is not in Default update set.",
"type": "boolean"
},
"limit": {
"description": "Maximum number of records to return for list/recent operations.",
"type": "number"
},
"name": {
"description": "Update set name (required for create operation).",
"type": "string"
},
"offset": {
"description": "Number of records to skip for pagination.",
"type": "number"
},
"operation": {
"description": "The update set operation to perform. Required.",
"enum": [
"create",
"set_working",
"show_working",
"clear_working",
"insert",
"update",
"rehome",
"contents",
"recent",
"list",
"info",
"complete",
"reopen",
"delete",
"diff_default"
],
"type": "string"
},
"query": {
"description": "ServiceNow encoded query string for rehome operations.",
"type": "string"
},
"quiet": {
"description": "Compact acknowledgment for update operations to avoid RESPONSE_TOO_LARGE errors. Default: false.",
"type": "boolean"
},
"response_mode": {
"description": "Response verbosity: full (all data), minimal (essential only), compact (summarized). Default: full",
"enum": [
"full",
"minimal",
"compact"
],
"type": "string"
},
"scope": {
"description": "Update set scope (optional, defaults to configured scope).",
"type": "string"
},
"set_as_working": {
"description": "Set the created update set as working set (for create operation).",
"type": "boolean"
},
"sys_id": {
"description": "Record sys_id for update operations.",
"type": "string"
},
"table": {
"description": "Table name for insert/update operations.",
"type": "string"
},
"update_set_sys_id": {
"description": "Update set sys_id for operations that require it.",
"type": "string"
},
"xml_sys_ids": {
"description": "Array of XML sys_ids for rehome operations.",
"items": {
"type": "string"
},
"type": "array"
}
},
"required": [
"operation"
],
"type": "object"
}