OBLYTECH Logo
OBLYTECH Logo

Data Retention Schedule for Closed Salesforce Records

A retention schedule for closed Salesforce records lists each closed record type, the legal or business owner who decides how long it is kept, the trigger date that starts the clock, and the method used to archive, anonymize or delete it. Write it before the first archiving run so each removal traces back to a named decision.

Why closed records need a schedule before anyone archives them

Closed records feel finished, so they tend to get treated as clutter. A closed opportunity still holds a deal amount, a contact history and a reason for the loss. A closed case can hold personal details that a privacy team has to account for. When the org grows and storage or performance becomes a concern, someone proposes a clean-up, and without a schedule the clean-up is decided by whoever runs the export that week.

A schedule changes that. It turns a one-off decision into a standing rule that names who owns each class of record, how long it is kept, and what happens at the end. It also gives you a record of the decision if someone asks later why a set of records no longer exists in the org.

Inventory the closed record types in your org

Start with a list of the objects and record types that close or go inactive in your org. Standard business objects such as opportunities and cases are obvious candidates, but teams often find a longer list once they look at custom objects, junction records and the attachments and notes that hang off them. Record each one as a row in the schedule, even when you expect the answer to be simple.

For each row, capture:

  • The object or record type name, as it appears in your org
  • The status value or field that marks the record as closed
  • The number of records currently in that state
  • Any child records or files that follow the parent

Assigning an owner to each record type

Each row needs two kinds of owner. The legal owner is the person who can say whether personal data in those records has a retention obligation, usually someone in privacy, compliance or legal. The business owner is the person whose team uses the records and knows what they are worth after closure, such as a sales operations lead for opportunities or a service manager for cases. Name one person per role. A group mailbox can receive the notice, but it cannot approve a retention decision.

Ask each owner to approve their row in writing, with the date, before the row goes live. Approval from one owner does not stand in for the other.

Setting the trigger date and the retention period

A retention period means nothing until it has a start point. Pick a trigger field that is set once and does not change afterward, such as the close date for opportunities or the date a case was closed. Avoid last-modified dates. Anyone who edits an old record resets the clock, and the schedule stops describing what happened.

Express each period as a fixed length from the trigger, in years or months, and write down the source of that number. If the figure comes from a regulator, name the regulation in the row. If it comes from a business rule, such as a warranty window or a renewal cycle, name the person who set the rule. A period with no stated source is hard to defend when someone asks why records disappeared.

Archive, anonymize or delete

Each row also needs a disposition. Archiving keeps the record readable by people who may need it later. Anonymizing removes or masks personal fields while keeping the business facts, such as deal size and close reason, for reporting. Deleting removes the record. Decide the method per row, not per org, because a single closed case and a closed opportunity often need different answers.

Running the first archiving pass safely

The first pass is where mistakes happen, so run it on a small slice. Choose one record type with a modest volume, apply the schedule to records closed in one month, and review the output before you widen the scope. Check three things before the run: that each affected record has a trigger date, that child records and attachments are accounted for, and that someone can restore a sample from the export if the disposition was wrong.

Once the slice runs, check these items:

  • Count the records in the slice before and after the run, and reconcile the difference
  • Open a sample of archived records and confirm the fields readers need are still visible
  • Confirm the legal owner has signed off on the slice in writing
  • Log the run date, the rule applied and the person who ran it

If stewards already review duplicates, time the archiving pass to fall outside their review window. Merging and archiving the same record in one week leaves an audit trail that is hard to read. The steward duplicate review routine is a good place to agree that timing with the team.

Choosing how the archive is kept

The export tool you choose determines how easy the archived records are to read later. Pick the tool with the schedule in mind: a file that a reviewer can open without special software serves a retention rule better than an extract that the original admin alone can load. Compare the options against the restore question you wrote into the checks, and document the choice in the schedule so the next admin can follow it. The Salesforce data loader options for migration guide covers the loader choices for moving data in and out.

A step-by-step sequence for building the schedule

A single pass through the schedule works better than several partial ones. The order below keeps owners from approving rows they have not seen.

  1. Export a count of each record type in its closed state.
  2. Name a legal owner and a business owner for each row.
  3. Set the trigger field and the retention period, with the source written beside the number.
  4. Choose the disposition: archive, anonymize or delete.
  5. Ask both owners to approve the row in writing.
  6. Run the first pass on a small slice and reconcile the counts.
  7. Set a review date and record who holds the schedule.

Mistakes that show up in the first version

First drafts tend to share the same gaps. The rows cover objects but not the attachments, notes and files attached to them, so an archiving run can leave orphaned files behind. The trigger date is left to the admin’s judgment, so two people apply the same rule differently. The retention period has no source, so nobody can defend it later.

Watch for these patterns in reviews:

  • Rows that name an object but not its status value
  • Retention periods written as “as needed” with no trigger
  • The same person listed for both roles without a reason written down
  • Dispositions that say “clean up” instead of archive, anonymize or delete

Give the schedule one custodian. The custodian keeps the document current, collects approvals, and tells the owners when a review is due. The custodian does not have to own each row. Their job is to make sure each row has an owner, a date and a source, and that the schedule matches what the org currently holds. Readers who want the wider context for this kind of work can start in the Salesforce section.

Setting review dates and handling changes

A schedule that nobody reviews drifts away from the system it describes. Review it on a fixed cadence and whenever a process changes, such as a new product line, a change in how cases are closed, or a new privacy obligation. During each review, check that the record types still exist, that the status values still match what the row says, and that the owners are still in their roles. Removing a row for a retired object is also a decision, so log it the same way as an addition.

For help planning this work, see Salesforce implementation.

Questions about retention schedules for closed Salesforce records

What happens when someone needs an archived record again?

The disposition recorded in the row decides the answer. An archived record should stay readable to the people who have access to the archive, and the retrieval steps belong in a linked runbook. Test one retrieval before the first pass, so the answer is known before anyone asks for it under time pressure.

Can one schedule cover more than one Salesforce org?

It can, as long as each row names the org it applies to. Production and test copies often hold different data at different stages, so a row that is right in one may be wrong in the other. Keep one document with an org column, or keep a schedule per org and link them from the custodian’s notes.

Should a closed record be held while a linked record is still open?

Hold it. An open case that points at an older contact is a reason to delay the disposition of that contact, not a reason to force it. Note the dependency in the row, so the next review does not treat the contact as ready to remove.

Does a retention schedule replace a backup?

No. A backup protects the org against loss or corruption and exists for recovery. A retention schedule decides which closed records should still exist and for how long. The two run on different clocks, so the schedule should state whether backups are in scope when a removal happens and who decides that.

What should happen when legal and sales disagree on a period?

Escalate to the owner who holds the decision for that record type. Write the outcome into the row with the date and the reason, so the question does not return at the next review. If the positions cannot be reconciled, record both and leave the row unchanged until a decision is signed off.