[SalesForce] Duplicate Management in Lightning – Matching Rules vs Duplicate Rules

In Salesforce Classic experience, we can manually search for duplicate records and pick and choose which ones we want to merge. In Lightning, however, this is not possible, and only records identified in the "Potential Duplicates" page component can be merged manually.

The documentation is unclear in my mind on how the combination of matching rules and duplicate rules drive what records appear as "potential duplicates". What I'd like to do is create some rules that don't warn or prevent a user from creating or updating potential duplicates, but cast a wider net in terms of identifying potential duplicates so that a user can review manually. Is this best addressed through matching rules, duplicate rules, or a combination of both?

Best Answer

Matching rule is the criteria that identifies a record as a duplicate record

Duplicate rule is the criteria that decides what needs to be done when a duplicate record is found.

Matchig Rule and Duplicate Rule work hand in hand.

To address your use case - 'What I'd like to do is create some rules that don't warn or prevent a user from creating or updating potential duplicates, but cast a wider net in terms of identifying potential duplicates so that a user can review manually. Is this best addressed through matching rules, duplicate rules, or a combination of both?'

Solution -

  1. Create a Matching rule that identifies records as duplicates.
  2. Create a duplicate rule and select appropriate check boxes to either warn or prevent a user from creating a potential duplicate
  3. (nice to have): Drag the standard Potential Duplicate lightning component on the page layout for users to review and merge the duplicates (if they have the permission to merge records)
Related Topic