Quick Answer: To manage different regional data retention rules in a single Salesforce org, you must segment records using a region-identifying field (such as Country or BillingCountry) and pair each value with a distinct retention cutoff and date field (like LastModifiedDate or CreatedDate). Automated archiving tools like DataArchiva let admins configure country-specific purge criteria so records are deleted only when their respective regional policy expires.
Two customer service records were last updated seven years ago. The UK record meets its example retention cutoff. The Japanese record needs to stay.
Both belong to the same Salesforce org. The difference comes down to the company’s retention policy for each country.
DataArchiva can customize automated purging to your company’s requirements, combining country-specific criteria with Salesforce data retention cutoffs so archived records follow the policy that applies to them.
One Salesforce Org, Two Country Retention Policies
Consider a global electronics company managing UK and Japan customer service records in one Salesforce org.
Read the detailed Salesforce Data Lifecycle Management Guide
The company wants to remove archived records once their retention periods end. However, its internal policies set different timelines:
|
Country |
Example Company Retention Policy |
|
United Kingdom |
Six years after the record’s last modification |
|
Japan |
Eight years after the record’s last modification |
These are illustrative company policies, not statements of UK or Japanese legal requirements.
In practice, enterprises set distinct regional retention windows to align internal governance with local statutory mandates, tax audit windows, and regional data privacy frameworks (such as UK GDPR or Japan’s APPI)—making a single, org-wide purge rule risky for global compliance.
Each archived record includes a country field. That field determines which retention rule applies.
If the company used a single six-year purge rule across its archive, Japan records could be deleted before their required retention period ended.
How Country-Specific Purge Rules Work
Each rule needs to answer two questions: Which country does this record belong to, and has its retention period ended?
For this company, the intended criteria are:
-
United Kingdom: Country matches the UK, and the record was last modified more than six years ago.
-
Japan: Country matches Japan, and the record was last modified more than eight years ago.
Prepare Your Enterprise Data for Country-Specific Purge. Get it on AppExchange!
Here’s what happens when those criteria are applied:
|
Archived Record |
Last Modified |
Decision Under the Example Policy |
|
UK customer service record |
Seven years ago |
Eligible for purging |
|
Japan customer service record |
Seven years ago |
Retain until the eight-year cutoff |
|
UK customer service record |
Four years ago |
Retain until the six-year cutoff |
Any applicable legal hold still excludes a record from purging.
Read more: Salesforce Data Retention Blueprint
Steps to Configure Country-Specific Purge Rules in DataArchiva
Configuring regional retention rules starts with identifying the fields and conditions that determine when an archived record becomes eligible for purging.
1. Identify the Country Field: Choose the Salesforce field that identifies the record’s country, such as Country or Region.
2. Define Retention Periods: Establish the approved retention period for each country. For this example, six years for the UK and eight years for Japan.
3. Select the Retention Date Field: Determine whether eligibility should be calculated using CreatedDate, LastModifiedDate, or another approved date field.
4. Configure Country-Specific Criteria: Set up purge conditions that combine the country value with its corresponding retention period.
5. Validate Purge Eligibility: Test the rules against sample archived records to confirm that records are selected only after meeting the applicable cutoff.
6. Account for Legal Holds: Ensure records under applicable legal holds remain excluded from purging, even when their retention periods have ended.
Once these conditions are configured, DataArchiva can apply the appropriate purge criteria to archived records based on your company’s requirements.
Why the Retention Date Matters
A record’s creation date and last modification date can tell very different stories.
Suppose a UK service record was created nine years ago but updated two years ago. Because this company measures retention from LastModifiedDate, that record hasn’t reached its six-year cutoff.
The Only Guide You Need to Set Up & Manage Salesforce Compliance Audit. Get it here!
Before configuring purging, the team needs to confirm the country field, the date field used to calculate retention, and the exact cutoff. Records without a clear country value need review so they aren’t assigned the wrong policy.

Purging Customized to Your Company’s Requirements
DataArchiva can customize purging around your company’s retention requirements, including country-specific criteria and retention periods.
In this example, the configuration reflects the company’s six-year UK policy and eight-year Japan policy. Your company’s rules may differ, so the purge configuration should follow your approved requirements.
This gives the team a repeatable way to manage archived records: identify the country, apply the correct retention cutoff, and remove eligible records while respecting applicable exceptions.
Request a DataArchiva demo to discuss your company’s purging requirements.
Frequently Asked Questions
Can Salesforce natively apply different purge rules by country in one org?
Native Salesforce storage management requires manual data loader scripts or custom Apex batch jobs to conditionally delete records by region, and standard archiving does not provide out-of-the-box, no-code country-based purge policies. Purpose-built solutions like DataArchiva allow admins to configure conditional, multi-region purge rules declaratively.
What happens if a Salesforce record has a blank or invalid Country field?
Best practice is to configure regional purge criteria using explicit EQUALS or IN operators for approved country codes while excluding NULL values. This ensures records with missing regional metadata remain safely archived until data stewards standardize the field.
How do legal holds interact with regional retention cutoffs?
Legal holds act as a global override. Even if a UK or Japan record passes its six- or eight-year modification cutoff, flagging the record under a legal hold blocks DataArchiva from including it in scheduled purge batches until the hold is lifted.