Move Update Set Records
move_update_set_recordsMove records between update sets in ServiceNow. Specify target update set and either individual record sys_ids or a source update set to transfer all its records.
Instructions
Move records from one update set to another. You can move specific records by sys_id, or move all records from a source update set.
IMPORTANT: This modifies update set membership of records on the instance.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| instance | No | The ServiceNow instance auth alias to connect to. This is the alias configured via `snc configure` (e.g., "myinstance", "prod", "test"). The user will typically refer to this by name when saying things like "on my myinstance instance". If not provided, falls back to the SN_AUTH_ALIAS environment variable. | |
| target_update_set_id | Yes | The sys_id of the update set to move records TO. | |
| record_sys_ids | No | Specific sys_ids of sys_update_xml records to move. If omitted and source_update_set is provided, moves all records from the source. | |
| source_update_set | No | The sys_id of the source update set to move all records FROM. Used when record_sys_ids is not specified. |