When two legacy systems hold a record for the same customer, survivorship rules decide which value wins for each field in the surviving record. Each winning value is a business decision, so someone must own it. Write the rules field by field, record who approved them, and test them on duplicates before any data moves.
Duplicate handling is often described as a matching problem: find the pairs, then merge them. Survivorship is the step that comes after matching. Once two legacy records are accepted as one customer, each field still needs a winner. The contract name may come from the system that holds the signed agreement, while the mailing address may come from the system the billing team has been updating.
The common mistake is to pick one system as the master and copy everything from it. That can work when the master is the stronger source for all fields, but in a two-system estate that is uncommon. One system often holds better phone data, the other holds the correct account owner, and a third field may be blank in both. A single winner for the whole record discards values that could have been kept.
Map all fields both systems hold before choosing a winner
Start with a field inventory, not with the matching output. List each field that exists in either legacy system for the customer object, including the ones that look unimportant. For each field, note which system stores it, the format it uses, whether users can edit it, and whether a report, integration or invoice run reads it.
Group the fields into three buckets before writing any rule:
- Identity fields, such as legal name, tax identifier and date of birth, where a wrong value creates contract or compliance problems.
- Contact fields, such as email, phone and postal address, where how recently a value was checked usually matters more than which system it came from.
- Relationship fields, such as account owner, sales region and parent account, where the right answer depends on how the business assigns work.
Identity values should be checked against a source document by someone who can read it. Contact values can use a recency rule with an exception queue for conflicts. Relationship values need the business owner to confirm the answer, because a data rule cannot know which region a customer is supposed to belong to.
Write one winning-source rule for each field
Once the fields are grouped, write one rule per field. A rule has four parts: the candidate sources in priority order, the test a value must pass before it counts, the tie-breaker when both sources pass, and the fallback when neither does. Keeping each rule in that shape makes it easy to review and easy to explain later, when someone asks why a customer’s address changed.
The tests teams commonly use include:
- The value was last changed by a person rather than by an integration job.
- The value passes the format check for its field type.
- The value comes from the system that holds the source record for that field.
- The value was verified within a period the business has agreed on.
Tie-breakers need careful design. Choosing the latest value sounds fair, but a bulk update from an integration can make a stale value look newer than a value a sales representative checked last month. If recency is the tie-breaker, measure it with a timestamp that reflects a real change to that field, not the last time the row was touched by any process.
A worked example for one customer
The customer and figures below are invented for illustration. System A holds a signed contract under the legal name “Northfield Dental Group LLC” and an account owner who still works in sales. System B holds the trading name “Northfield Dental”, a phone number a clerk verified three weeks ago, and a mailing address updated after the office moved. A workable set of rules for this record looks like this:
- Legal name comes from System A, because the signed contract that defines the legal entity is held there.
- Trading name comes from System B, because invoices use it and System A stores no equivalent field.
- Phone number comes from System B, because its verification date is newer than the last change recorded in System A.
- Account owner comes from System A, because that system holds the sales assignment the business relies on.
If a reviewer cannot explain why a field came from a given source, the rule is not finished yet.
Decide who signs off the survivorship rules
A survivorship rule changes which customer data the business trusts, so each bucket needs a named owner. In a small team one person may hold more than one role, but the roles still need to be written down. The usual set is a data steward who keeps the rule document current, a business owner for each relationship field, a platform administrator who builds the logic, and an integration owner who confirms how each source system behaves after cutover.
Record the sign-off for each rule with the date, the approver’s name and the version of the rule. When a dispute comes up months later, that record answers the question faster than reconstructing the reasoning from memory or a spreadsheet.
Limit who can edit the rule document and the logic to the people who signed it off, and keep that list short. Viewing the data and changing the rule are different permissions, and small teams often grant them together by habit. For a way to split those permissions cleanly, see permission set design for small teams.
Test the rule on a copy before any data moves
Run the rules against real duplicates, not a hand-picked sample. Pull customers that exist in both systems, including the awkward cases: records with a blank field in the preferred source, records edited by two people on the same day, and records where the legal name and trading name differ. Read the output row by row for a sample. Count how many fields changed and compare that number with what the sign-off expected.
Run the test in a non-production environment that holds a recent copy of the target data. Timing matters, because a copy that is several weeks old will show the rules working on values that have since changed. Schedule the refresh, and record which copy the test ran against so the result can be repeated. For the timing questions, see Salesforce sandbox refresh planning.
Handle the records the rule cannot decide
Any rule set leaves some records undecided. A customer may have two active billing contacts, or a tax identifier in one system that conflicts with the one in the other. Decide in advance what happens to these cases. A review queue is the usual answer: the record is held out of the merge, the conflicting values appear side by side, and a named person chooses the winner and records the reason.
Check writes that the target system may block. If a target field has validation logic, a value the rule selects can fail on save, and a bulk job can stop partway through a batch. Review the validation logic on the target fields before the test run, and decide whether a blocked record goes to the review queue or waits for the cause to be fixed and a second run. For how these checks interact with integrations, see validation rules without breaking integrations.
Large merge runs also consume platform resources, so split the work into batches. Time a batch on the test copy, size the full run from that measurement, and make sure a failed batch can be rerun alone. For more on planning admin work around platform constraints, see governor limits for admins.
Record decisions so the rule survives cutover
After cutover, one system is often frozen to new edits or retired, and the rule document becomes the one record of why each value sits where it does. Keep the rule document beside the field inventory, the sign-off record and the test results. Version the document whenever a rule changes, and note which records each version affected.
Users will find customers whose address or owner looks wrong, and the first instinct is to edit the value directly. Route those reports to the review queue instead, so the corrected value is saved with its reason. Without that step, the next duplicate run can overwrite the fix or bring back the old value.
For help planning this work, see Salesforce implementation.
Questions about survivorship rules for overlapping legacy customers
Should one legacy system win for all fields?
No. A single master system is easy to explain, but it discards usable values wherever the master is blank or out of date. Choose the winner field by field, and keep the reason beside each choice.
How is survivorship different from matching?
Matching decides that two records describe the same customer. Survivorship decides which value wins for each field once that link is accepted.
Who should approve a survivorship rule?
The business owner of each field approves the choice, and a platform administrator confirms that the logic matches the written rule. Where a field carries a regulatory obligation, add the person who answers for that obligation.
What should happen when neither system holds a usable value?
Leave the field empty, or fill it from a third source if the business has one, and flag the record as incomplete. Do not enter a placeholder to satisfy a required field. A placeholder that passes validation tends to hide the gap until a customer points it out.
Can the rules be tested before the two systems are combined?
Yes, and that is the better order. Run the rules against a recent copy of both data sets, review the sample output, and correct the rules before the cutover window opens. Testing after cutover means fixing live records instead of the rule that caused the problem.