---
schema_version: "1"
id: e7b6cd1b3729493f95f8dadec3b1260f2c6dd89f380e5806bf61d475d6ad3827
title: Purge Policies
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/xcloud/264-0-0/archive_purge_policies.md
canonical_url: https://help.salesforce.com/s/articleView?id=xcloud.archive_purge_policies.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: fd508b8959adb580e3b89d64816e0965a8b2965e0d31a37600cecbee89208c36
description: Define data removal policies for archived records in the Archive app. Purge policies override the original data retention expiration set at the time of archiving. When designated to do so, purge policies permanently delete data.
products:
  - Salesforce Platform
  - Cross Cloud
release: "264"
---
# Purge Policies

Define data removal policies for archived records in the Archive app. Purge policies override the original data retention expiration set at the time of archiving. When designated to do so, purge policies permanently delete data.

### Required Editions

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small permission">
        <colgroup>
          <col style="width:50%">
          <col style="width:50%">
        </colgroup>
        <thead class="slds-text-title_caps ">
          <tr class="">
            <th scope="colgroup" class="slds-cell-wrap" colspan="2" style="text-align:center;vertical-align:top;" id="d159680e38">User
              Permissions Needed</th>
          </tr>
        </thead>
        <tbody>
          <tr class="">
            <td data-label="User Permissions Needed" class="slds-cell-wrap" style="vertical-align:top;" headers="d159680e38 ">To manage purge policies:</td>

            <td class="slds-cell-wrap" style="vertical-align:top;" headers="d159680e38 ">Archive Purge Policy</td>

          </tr>
        </tbody>
      </table>

A purge policy runs once a day. You can also run it manually when the purge policy isn't running. On the Activities tab, review purge policy activity and download a CSV file that lists the purged records.

Each purge policy run deletes up to 1,000,000 records. For details about the run limit, legal hold, and Archived Data Protected from Purge, see [How Purge Policies Work](https://help.salesforce.com/s/articleView?id=xcloud.archive_how_purge_policies_work.htm&release=264.0.0&type=5 "A purge policy permanently deletes archived records that match your query conditions, up to 1,000,000 records in each run. It doesn't delete records under legal hold or records protected by Archived Data Protected from Purge.").

To configure permissions for purge policies:

1. To open the Setup menu, click the Setup gear icon.
2. In the Quick Find box, type and select **Permission Sets** from the results.
    
    Alternatively, click the arrow icon next to Users and select **Permission Sets**.
3. Assign the Archive Purge Policy permission set.
4. Save your work.

![Warning](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-xcloud-setup-264-0-0-production-enus/6f21df35-9ea0-4f53-ac94-45c3b5dfd5bc/images/icon_warning.png)

Warning Exercise caution when granting purge policy permissions. Purging records is permanent, and purged data can't be retrieved.

## Create a Purge Policy

Create a purge policy that deletes archived records.

1. Go to the Policies tab.
2. Select **New**.
3. Select **Purge Archived Data**.
4. In the purge policy form, provide this information.
    
     
    | Field | Description |
    | --- | --- |
    | Policy Name | Recognizable name for the purge policy. For example, Inactive Cases Opened 2 Years Ago. |
    | Description | Purpose of the purge policy. |
    | Enabled | Activates the purge policy. |

## Configure Purge Policy Query Conditions

Define which archived records a purge policy deletes.

1. From the Archive Root Object dropdown menu, select an object to be purged.
2. From the Field dropdown menu, select an option.
    
    Newly added fields can take up to 24 hours to appear in this list.
3. Select an operator, such as equals, less than, and greater than, that defines the condition.
    
    Archive treats number fields as text. For number fields, select equals.
4. Optionally, add the Date Category to refine your query further.
5. Enter or Select a Value: The values available depend on your selected operator.
6. Optionally, you can add, reset, or delete query conditions.
    
     
    | Query Condition | Description |
    | --- | --- |
    | +Add Condition | Adds another query condition and repeats the previous steps. |
    | Delete | Removes any query condition. |
    | Reset | Clears all query conditions and starts over. |
7. To review and confirm the purge action, save your work.

![Note](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-xcloud-setup-264-0-0-production-enus/6f21df35-9ea0-4f53-ac94-45c3b5dfd5bc/images/icon_note.png)

Note Set at least one condition. A purge policy without a condition deletes all archived records of the root object when it runs.

## Estimate a Purge Policy

The Estimate feature provides insight into the records scheduled for purging according to the next purge policy process.

1. Go to the Policies tab.
2. Select a purge policy.
3. Click **Estimate**.
    
    The estimate process begins, and you're redirected to the Policies table.
4. After the estimate process completes, go to the Activities tab.
5. To review all records to be purged with the purge policy, click the Download Execution Details file.

## Run a Purge Policy

Run a purge policy manually, without waiting for the scheduled run.

1. Go to the Policies tab.
2. Select a purge policy.
3. Click **Run Now**.
    
    You can't start a run while the purge policy is still running.
4. To initiate the purge process, click **Confirm**.
    
    ![Warning](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-xcloud-setup-264-0-0-production-enus/6f21df35-9ea0-4f53-ac94-45c3b5dfd5bc/images/icon_warning.png)
    
    Warning Archive purges up to 1,000,000 records that match this purge policy in the background. You can't recover them. To follow progress, go to the Activities tab.

#### See Also

- [Retention vs Purge Policies in Archive](https://help.salesforce.com/s/articleView?id=xcloud.archive_retention_vs_purge_policies_in_archive.htm&release=264.0.0&type=5 "Retention sets how long Archive keeps records. A purge policy deletes records before that period ends, such as for Right to Be Forgotten requests.")