Clean up (table) with 50M records
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-11-2024 05:40 AM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-11-2024 10:04 AM
Hi @P Seth ,
Table cleaner is the best way to delete however this scenario is bit different looking at the record size 50M.
I would recommend to have a scheduled script with limit (each day after business hours or during weekends) and make sure not to trigger any BRs/workflows/flows by using setWorkflow(false) and Properly test in dev
Refer Table Cleaner v/s Script : https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB0717791#:~:text=and%20workflo...
Hope this helps!!!
Thank you,
Hemanth
Certified Technical Architect (CTA), ServiceNow MVP 2024, 2025
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-12-2024 09:05 PM
You can use Data Management Delete Job as well.
Refer https://www.servicenow.com/docs/bundle/xanadu-platform-administration/page/administer/managing-data/....
This ensures that you have always have a rollback and execution details.