How to rollback an import
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Monday
Hi,
Could anyone suggest how to rollback the import that done via data source.
Data source Import;
Type- File.
Format- CSV
File Retrieval Method- Attachment.(manual attachment)
regards,
Nithya.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Monday - last edited Monday
Hi @Nithya Devi ,
Directly rolling back an import set in ServiceNow, in the same way you might rollback an update set, is not a built-in feature. Once an import set has transformed data into target tables, the changes are committed.
you can can go through the import records and their targets
if the operation is insert you can delete the target record
if the operation is update it's going to be complex
if you the audit is enabled on the table you can try to go through the audit data and undo the changes
also I found this, see if this is of any use to you
Please mark my answer as helpful/correct if it resolves your query.
Regards,
Chaitanya
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Monday
It is not supported out of box. Try below solution in development environment and see if it works,
If this helped to answer your query, please mark it helpful & accept the solution.
Thanks,
Bhuvan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Tuesday
Hi Bhuvan,
Let me try this on my pdi and let you know.
Regards,
Nithya.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Monday
ServiceNow does not provide a one-click “rollback” for data imports. Once a Transform Map has run and data is written to the target table, there is no native undo.
Identify the Created and Updated records.
Use a list filter or background script to delete/revert those.
If the import was large, you may need to request a database restore from ServiceNow Support (HI ticket).
This can only restore to a backup point, so it may affect other data created since.
Shashank Jain – Software Engineer | Turning issues into insights