---
schema_version: "1"
id: f4015efeb621ff300a0109d00c8681ceae69afd00628e685165a445443c636a9
title: Archive Related Objects in Legacy Salesforce Archive
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/xcloud/264-0-0/archive_related_objects.md
canonical_url: https://help.salesforce.com/s/articleView?id=xcloud.archive_related_objects.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 0ee6c8396e6dec578cd673feb226619ce6962745cf46dbde8b7e0f64b2dde8bd
description: Select any related objects in Legacy Salesforce Archive that you want to archive in addition to the primary object.
products:
  - Salesforce Platform
  - Cross Cloud
release: "264"
---
# Archive Related Objects in Legacy Salesforce Archive

Select any related objects in Legacy Salesforce Archive that you want to archive in addition to the primary object.

### Required Editions

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small edition"><colgroup><col></colgroup><tbody><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;">Available in: <strong>Developer</strong>, <strong>Enterprise</strong>, <strong>Performance</strong>, and <strong>Unlimited</strong> Editions. Requires the Salesforce Archive license.</td></tr></tbody></table>

<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="d68448e66">User Permissions Needed</th>
          </tr>
        </thead>
        <tbody>
          <tr class="">
            <td data-label="User Permissions Needed" class="slds-cell-wrap" style="vertical-align:top;" headers="d68448e66 ">To create, edit, and schedule Archive Policies:</td>

            <td class="slds-cell-wrap" style="vertical-align:top;" headers="d68448e66 ">Manage Archive Policies</td>

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

![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 This content relates to Legacy Salesforce Archive. Read about the Archive managed package in [Own from Salesforce](https://help.salesforce.com/s/articleView?id=platform.own_from_salesforce.htm&type=5&language=en_US).

Before completing this task, understand how related objects are affected when the primary object gets archived.

- Objects with a detail relationship to the primary object are cascade-deleted from your org. You can maintain a copy of these objects in the archived data by adding them to the policy.
- Objects with a lookup relationship to the primary object remain in your org, but their connection to the primary object is lost. You can maintain a copy of these objects and preserve their relationships in the archived data by adding them to the policy.

On the Configure Related Objects screen, the available objects are categorized by Cascade-Delete Relationships and Lookup Relationships.

To configure a related object:

1. Click the plus (+) icon in the Add to Policy column.
2. Using the dropdown menus, specify how the object's files and attachments are processed. For information about file and attachment options, see [Configure Files and Attachments for Archived Records in Legacy Salesforce Archive](https://help.salesforce.com/s/articleView?id=xcloud.archive_files_attachments.htm&release=264.0.0&type=5 "Select what happens to files and attachments when their associated records become archived in Legacy Salesforce Archive.").

When you're finished adding related objects to the policy, click **Done**.

## Archive Additional Related Objects as Needed

Related objects can have detail or lookup objects of their own. For each related object that you add to your policy, you can see how many detail or lookup objects correspond to it from the policy details page, under Related Objects. Add these objects to your policy as needed, using the Configure buttons.

Keep in mind that related object hierarchies can have three or even four tiers. While detail objects are cascade-deleted all the way down the hierarchy tree, lookup objects are preserved unless you add them to your policy. To avoid preserving unwanted data in your org, examine all lookup objects and decide whether you want them archived.

You're ready to set the run schedule for your archive policy.

#### See Also

- [Set the Run Schedule for a Legacy Salesforce Archive Policy](https://help.salesforce.com/s/articleView?id=xcloud.archive_run_schedule.htm&release=264.0.0&type=5 "Define when and how often your Legacy Salesforce Archive policy executes. For example, you can choose to manually start your policy, or you can schedule it to run at regular intervals.")