How comprehensive and durable is the "Enable rollback" feature for fix scripts?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
Regarding the 'Enable rollback' checkbox for fix scripts: does it truly capture everything the script changes, or are there exceptions? Also, how long does the rollback backup data persist before it's cleaned up?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
Enable rollback checkbox on a fix script only records the changes the script itself makes so you can revert those specific inserts/updates/deletes later.....it doesn’t capture every side effect or unrelated change..... and won’t work if the script errors or isn’t finished, and the rollback context records are temporary and cleaned up after a limited retention period (typically around seven days by default) so you need to perform the rollback within that window before the system pushes the rollback data.....
If you found my response helpful, please mark it as ‘Accept as Solution’ and ‘Helpful’. This helps other community members find the right answer more easily and supports the community.
Kaushal Kumar Jha - ServiceNow Technical Consultant/Developer
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
Hi @jimjqliao ,
Please find the official KB from ServiceNow - https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB0761248
The DB changes that are made will be captured in sys_rollback_context table and used to rollback to the previous state if opted.
Thanks,
Afrith
