Archive and Purge space occupancy data
Archive and purge the Space Occupancy data (sn_wsd_wc_space_occupancy) table after every five days.
Before you begin
The Archive rule Archive Space Occupancy table at the end of everyday runs every day to archive data from the Space Occupancy data (sn_wsd_wc_space_occupancy) table and archives it in the Archived Space Occupancy Table (ar_sn_wsd_wc_space_occupancy). The Archive Destroy Rule Destroy Space Occupancy archived table after every 5 days purges data from Archived Space Occupancy Table (ar_sn_wsd_wc_space_occupancy) after every five days.
Role required: admin
Procedure
-
Navigate to All > System Archiving > Archive Rules.
-
Select and open the Archive Space Occupancy table at the end of everyday rule.
-
Select the Active check box.
-
In the Conditions field, change the archive filter conditions as required.
-
From the Related Links section, select Run Archive Now.
The archived data is stored in the Archived Space Occupancy (ar_sn_wsd_wc_space_occupancy) table.
-
Navigate to All > System Definition > Tables.
-
Select Archive space occupancy record.
All the deleted space occupancy data are stored in Show List under the Related Links section.
-
Navigate to All > System Archiving > Archive Destroy Rules.
-
Select Destroy Space Occupancy archived table after every 5 days.
-
In the Conditions field, set the archive duration condition as required.
-
From the Related Links section, select Run Archive Destroy Now to run the job.
The Space occupancy data table records are deleted permanently.
Parent Topic:Setup Workplace Connectors for occupancy data
Previous topic:Retrieving Space Occupancy Data
Next topic:Setup Workplace Connectors for environmental data
---
title: Archive and Purge space occupancy data
description: Archive and purge the Space Occupancy data \(sn\_wsd\_wc\_space\_occupancy\) table after every five days.
locale: en-US
canonical_url: https://www.servicenow.com/docs/r/employee-service-management/workplace-connectors/archive-purge-occupancy-data.html
release: brazil
product: Workplace Connectors
classification: workplace-connectors
topic_type: task
last_updated: "2026-09-10"
reading_time_minutes: 1
breadcrumb: [Setup Workplace Connectors for occupancy data, Configure, Workplace Connectors, Workplace Service Delivery, Employee Service Management]
---
# Archive and Purge space occupancy data
Archive and purge the Space Occupancy data \(sn\_wsd\_wc\_space\_occupancy\) table after every five days.
## Before you begin
The Archive rule **Archive Space Occupancy table at the end of everyday** runs every day to archive data from the Space Occupancy data \(sn\_wsd\_wc\_space\_occupancy\) table and archives it in the **Archived Space Occupancy** Table \(ar\_sn\_wsd\_wc\_space\_occupancy\). The Archive Destroy Rule **Destroy Space Occupancy archived table after every 5 days** purges data from Archived Space Occupancy Table \(ar\_sn\_wsd\_wc\_space\_occupancy\) after every five days.
Role required: admin
## Procedure
1. Navigate to **All** > **System Archiving** > **Archive Rules**.
2. Select and open the **Archive Space Occupancy table at the end of everyday** rule.
3. Select the **Active** check box.
4. In the **Conditions** field, change the archive filter conditions as required.
5. From the **Related Links** section, select **Run Archive Now**.
The archived data is stored in the Archived Space Occupancy \(ar\_sn\_wsd\_wc\_space\_occupancy\) table.
6. Navigate to **All** > **System Definition** > **Tables**.
7. Select **Archive space occupancy record**.
All the deleted space occupancy data are stored in **Show List** under the Related Links section.
8. Navigate to **All** > **System Archiving** > **Archive Destroy Rules**.
9. Select **Destroy Space Occupancy archived table after every 5 days**.
10. In the **Conditions** field, set the archive duration condition as required.
11. From the Related Links section, select **Run Archive Destroy Now** to run the job.
The Space occupancy data table records are deleted permanently.
**Parent Topic:**[Setup Workplace Connectors for occupancy data](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/brazil/markdown/employee-service-management/workplace-connectors/setup-occupancy-connectors.md)
**Previous topic:**[Retrieving Space Occupancy Data](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/brazil/markdown/employee-service-management/workplace-connectors/space-occupancy-data.md)
**Next topic:**[Setup Workplace Connectors for environmental data](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/brazil/markdown/employee-service-management/workplace-connectors/setup-environmental-data-connectors.md)
| title | Archive and Purge space occupancy data |
| description | Archive and purge the Space Occupancy data \(sn\_wsd\_wc\_space\_occupancy\) table after every five days. |
| locale | en-US |
| canonical_url | https://www.servicenow.com/docs/r/employee-service-management/workplace-connectors/archive-purge-occupancy-data.html |
| release | brazil |
| product | Workplace Connectors |
| classification | workplace-connectors |
| topic_type | task |
| last_updated | 2026-09-10 |
| reading_time_minutes | 1 |
| breadcrumb | Setup Workplace Connectors for occupancy dataConfigureWorkplace ConnectorsWorkplace Service DeliveryEmployee Service Management |