---
schema_version: "1"
id: 68f51252fb95355e19a800573b64a4bc6d0da599ae52dd374601a68a1ab4e0e8
title: Create Right to Be Forgotten Policies
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/xcloud/264-0-0/create_rtbf_policies.md
canonical_url: https://help.salesforce.com/s/articleView?id=xcloud.create_rtbf_policies.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: c5eaf40d2c4f2b48b1d2d8732b769baba527cb62f5ca494baca5922beb1933cd
description: Honor individual customer requests to remove or mask sensitive data by creating Right to Be Forgotten policies.
products:
  - Security
  - Cross Cloud
release: "264"
---
# Create Right to Be Forgotten Policies

Honor individual customer requests to remove or mask sensitive data by creating Right to Be Forgotten policies.

### 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 Privacy Center 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="d9007e46">User Permissions Needed</th>
          </tr>
        </thead>
        <tbody>
          <tr class="">
            <td data-label="User Permissions Needed" class="slds-cell-wrap" style="vertical-align:top;" headers="d9007e46 ">To create, edit, and run Right to Be Forgotten Policies:</td>
            <td class="slds-cell-wrap" style="vertical-align:top;" headers="d9007e46 ">Manage Privacy Center Policies</td>
          </tr>
        </tbody>
      </table>

If you want the option to delete field history or field audit trail records with your policy, turn on this org setting: **Enable “Delete from Field History” and “Delete from Field History Archive” User Permissions**. The setting can be found in the User Interface node in Setup. To learn more, see [User Interface Settings](https://help.salesforce.com/s/articleView?id=xcloud.customize_ui_settings.htm&type=5&language=en_US).

To create a Right to Be Forgotten Policy:

1. From the App Launcher, select **Privacy Policies**, then click **New**.
2. Select **Right to Be Forgotten Policy**, then click **Next**.
3. Give your policy a name and optional description, and save it.
4. Click **Select Object** to add your first parent object to your policy.
    
    You can’t apply policies to User objects, because the data in User records can’t be deleted or masked. For information on how to obfuscate User records, see [Let Users Scramble Their User Data](https://help.salesforce.com/s/articleView?id=platform.users_scramble_user_setting.htm&type=5&language=en_US).
5. Under Available Objects, select the object that you want to add to the policy and add an optional description.
6. Click **Next**, then **Next** again.
7. In Action on Data In Org, select **Delete** or **Mask** to indicate what action is performed on the records captured by your policy filters. Delete removes the entire record from your org.
    
    If you select **Delete**, you also have these options. Note that if you permanently delete records the data can’t be recovered from the Recycle Bin.
    
    - **Delete records from related history object**
        
        Select this setting if you want associated records on the related history object to be deleted from your org.
    - **Delete records from Field Audit Trail**
        
        Select this setting if you have the Field Audit Trail add-on and you want the associated records to be deleted from your org. If you don't have Field Audit Trail, you can't select this setting because the data doesn't exist.
    - **Permanently delete records**
        
        Select this setting if you want to permanently delete records from your org instead of moving them to the Recycle Bin.
    
    If you select **Mask**, you can individually select an obfuscation or deletion method for each field in the Fields section. The fields listed are those that can have a value defined in Setup or via API. Fields such as Formula and Roll Up Summary aren’t included. You can also apply a bulk action that applies to all fields: Replace with Random Characters and Delete. If you select Mask, you have these options at the field level.
    
    - **Do Not Change** leaves this field’s data as-is.
    - **Replace with Random Characters** obfuscates the data in this field with random values. Optionally, check the box next to Unique to add the record’s Salesforce ID to the field value. This option creates a globally unique value for the record in your org.
    - **Delete** removes this field’s data. This option doesn’t delete the entire record, and you can’t delete data in required fields.
    - **Replace with Static Value** obfuscates the data in this field with a value that you input. Optionally, select the box next to Unique to add the record’s Salesforce ID to the field value. This option creates a globally unique value for the record in your org.
8. If you selected Mask in the previous step, under Fields, you can choose a compliance categorization to filter for specific field types.
    
    Compliance categorizations match compliance acts, definitions, or regulations, and can be assigned in field metadata. For example, you can use Quick Find to locate fields that contain personally identifiable information (PII). For more information, see [Data Classification Metadata Fields](https://help.salesforce.com/s/articleView?id=platform.data_classification_metadata_fields.htm&type=5&language=en_US). You can apply a bulk action to the same mask or delete action to all fields in the categorization.
9. Under Files & Attachments, choose how the files and attachments on captured records are retained or deleted.
    
    - **Delete All** deletes every file and attachment, even if there are other remaining records associated with the files.
    - **Delete if Unshared** deletes the files and attachments when they aren’t associated with any other records.
    - **Keep** ensures that none of the files and attachments are deleted. If you selected the Delete option for the Action On Data In Org field, and you select the Keep option for files and attachments, any unshared files and attachments in Salesforce become orphaned.
10. Click **Next**.
11. Select whether you want to copy processed records to an external data store for retention. To configure data retention for your RTBF policy, follow the same steps as you would for a Data Management policy. See [Retain Records on an Object](https://help.salesforce.com/s/articleView?id=xcloud.retention_data_management_policies.htm&release=264.0.0&type=5 "Choose whether you want to copy records to an external data store for retention.").
    
    ![Warning](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-xcloud-data_protection_and_privacy-264-0-0-production-enus/27d1bf87-a47b-491a-8339-f53ef6540aec/images/icon_warning.png)
    
    Warning Certain Salesforce instances don’t support data retention. If your instance is listed here, skip the data retention setup by selecting **Do Not Copy**. Otherwise, errors occur when your policy executes. To find out your org instance, go to Company Information in Setup, or contact your account executive.
    
    Data retention is unsupported in:
    
    - South Korea: kor\* instances
    - Indonesia: idn\* instances
    - Brazil: bra\* instances
    - Middle East: are\* instances
12. To save your changes and create your policy draft, click **Done.**
13. If needed, add child objects to the policy. From the policy details page, on the Active Objects tab, click **Add Child Object**.
    
    When a policy is executed with a delete action, any child objects with a detail relationship to the parent object are deleted automatically. Child objects with a lookup relationship to the parent object have their parent record field set to a value of null. To delete the records of a child lookup object, add it to the policy.
14. On the policy home page, save your work.

You’re ready to run your Right to Be Forgotten policy.