Restore Update Set
restore_update_setRestore the previously saved working set—application and update set—so you can resume work in the prior context. Falls back to the application's Default set if the update set has closed.
Instructions
Put back the working set (application and update set) that set_current_update_set reported as the previous one. If that set has closed meanwhile, the application's Default becomes current instead, and the result says so.
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. | |
| update_set | Yes | previous.updateSet from set_current_update_set: a sys_id, or "" when none was saved. | |
| application | Yes | previous.application from set_current_update_set: global, a sys_scope sys_id, or "" when none was saved. |