In ServiceNow how to increase the archive Data duration from 3 to 5years?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-02-2022 04:49 AM
In ServiceNow how to increase the archive Data duration from 3 to 5years?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-02-2022 04:58 AM
You can edit the Archive Destroy rule for that particular table to configure the duration for which you want the data in the archived table before it is destroyed
https://<instance_url>/nav_to.do?uri=%2Fsys_archive_destroy_list.do%3Fsysparm_userpref_module%3D5a0205737f33020097385212bdfa9149%26sysparm_clear_stack%3Dtrue

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-02-2022 05:04 AM
Hello Rajat
Pls check the below KB, it has answers on all Archival related queries
https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB0782323
Archive Destroy Rule:
Archive Destroy rules delete archived data after a specified period of time. The Archive Destroyer batch process runs the Archive Destroy rules on archived data. You can configure some parameters of the batch process.
Navigation: System Archiving > Archive Destroy Rules
Create a scheduled job for each destruction rule you want to execute with the following script (Note: Ensure to test in sub-production instance first!):
new GlideArchiver().archiveDestroyByRule(xxxx);
where xxxx is the sys_id of the destroy rule.
Please Mark ✅ Correct/helpful, if applicable, Thanks!!
Regards
Sulabh Garg
Regards
Sulabh Garg

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-02-2022 05:17 AM
Hey,
Try updating "Archive Destroy rule" for the archive table that you have created.
Below link has all the best practices for archive
https://www.servicenow.com/content/dam/servicenow-assets/public/en-us/doc-type/success/quick-answer/archive-historical-data.pdf
Aman Kumar

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-02-2022 11:35 AM
You can increase the date parameter in the Archive Rule by using the "relative" condition. In my screenshot I am archiving records closed more than 7 years ago from today.