---
sourceDocument: Yokohama Employee Service Management
sourceDocumentLink: https://servicenow-prod.fluidtopics.net/r/yokohama/employee-service-management

 Release :

    - yokohama

ft:locale :

    - en-US

ft:publication_title :

    - Yokohama Employee Service Management

ft:clusterId :

    - emplsm

bundleId :

    - emplsm

workflow :

    - Employee


---

# Archive and purge summary data tables

# Archive and purge summary data tables {#ariaid-title1}

Release version: Yokohama  
Updated March 5, 2025  
![](https://www.servicenow.com/docs/portal-asset/ico-clock) 1 minute to read  
Use the archive rules and destroy rules to archive and purge the summary data. Archive and purge the Space Occupancy Daily Summary Data (sn_wsd_wc_space_occupancy_daily_summary_data), Environmental Daily Summary Data
(sn_wsd_wc_environmental_daily_summary_data), Environmental Hourly Summary Data (sn_wsd_wc_environmental_hourly_summary_data), and Wi-Fi Daily Summary Data (sn_wsd_wc_wifi_daily_summary_data) table records.

## Before you begin

Role required: admin

## Procedure

1. Navigate to AllSystem ArchivingArchive Rules.
2. Select and open the required archive rule.  
   {#archive-and-purge-summary-data__table_fd5_zqn_42c__entry__3}

   | Type | Archive Rule | Duration |
   |-|-|-|
   | Space Occupancy Daily Summary Data | Archive Space Occupancy Daily Summary Data Table | Archive the space occupancy daily summary data table after 365 days. |
   | Environmental Daily Summary Data | Archive Environmental Daily Summary Data (ar_sn_wsd_wc_environmental_daily_summary_data) | Archive the environmental daily summary data table after 365 days. |
   | Environmental Hourly Summary Data | Archive Environmental Hourly Summary Data (ar_sn_wsd_wc_environmental_hourly_summary_data) | Archive the environmental hourly summary data table after every 15 days. |
   | Wifi Daily Summary Data | Archive Wifi Daily Summary Data Table | Archive the Wi-Fi daily summary data table after 365 days. |
   [Table 1. Archive Rules for Summary Data]

   {#archive-and-purge-summary-data__table_fd5_zqn_42c}
3. Select the Active check box.
4. In the Conditions field, change the archive filter conditions as required.
5. Select the Run Archive Now related link.  
   The data is archived in the Archived table.
6. Navigate to AllSystem ArchivingArchive Destroy Rules.
7. Select and open the required destroy rule.  
   {#archive-and-purge-summary-data__table_fgz_gj4_42c__entry__3}

   | Type | Destroy Rule | Duration |
   |-|-|-|
   | Space Occupancy Daily Summary Data | Destroy rule for sn_wsd_wc_space_occupancy_daily_summary_data | Purges data from the Archive Space Occupancy Daily Summary Data table \[ar_sn_wsd_wc_space_occupancy_daily_summary_data\] after 365 days. |
   | Environmental Daily Summary Data | Destroy rule for sn_wsd_wc_environmental_daily_summary_data | Purges data from the Archive Environmental Daily Summary Data table \[ar_sn_wsd_wc_environmental_daily_summary_data\] after 365 days. |
   | Environmental Hourly Summary Data | Destroy rule for sn_wsd_wc_environmental_hourly_summary_data | Purges data from the Archive Environmental Hourly Summary Data table \[ar_sn_wsd_wc_environmental_hourly_summary_data\] after every 15 days. |
   | Wifi Daily Summary Data | Destroy rule for sn_wsd_wc_wifi_daily_summary_data | Purges data from the Archive Wi-fi Daily Summary Data table \[ar_sn_wsd_wc_wifi_daily_summary_data\] after 365 days. |
   [Table 2. Destroy Rules for Summary Data]

   {#archive-and-purge-summary-data__table_fgz_gj4_42c}
8. In the Archive Duration field, set the archive duration before the records are destroyed.
9. Run the job by selecting the Run Archive Destroy Now related link.
**Previous topic:** [Workplace Connectors data summarization](https://servicenow-prod.fluidtopics.net/_pdXcna7RIgfW8mY2jcptw "Execute the DataSummarization scheduled job to retrieve the daily aggregate summary data. When the scheduled job runs, it collects the data from the target table and MetricBase and stores the daily aggregate data into the respective summary table.")  
**Next topic:** [Run the DataSummarization on-demand job](https://servicenow-prod.fluidtopics.net/aJSU9NX_XYEn6hYJuvgo0w "Use the on-demand OnDemandDataSummarization scheduled job to retrieve summary data for the required connector type if the DataSummarization scheduled job fails to populate the occupancy, environmental, or Wi-Fi summary reports.")

*[\>]: and then


