Set Up Duplicate Matching Condition

Duplicate matching conditions enable you to define the primary and matching entity fields of records for detecting duplicates based on various matching methods.

For example, to detect duplicates in the ‘First Name’ field of contact entity record, you will have to define a duplicate matching condition for detecting duplicates between the ‘First Name’ fields of contact entity records.

To set up Duplicate Matching Conditions, follow the steps given below:

  • This will open up a ‘New Duplicate Matching Condition’ quick-create form, where we need to fill in the following details:

  • Primary Entity Field: Select the entity field for which you want to enable duplicate detection. For e.g. Here we will select ‘First Name’.

  • Matching Entity Field: Select the matching entity field in which you want to detect duplicates. The fields in the Matching Entity Field dropdown will be of the same data type as the field selected in the Primary Entity Field.

Find Duplicate in Multiple Fields with a Single Rule

The Multi-Field Matching enhancement allows users to select multiple fields from a matching entity for a single Primary Entity Field within a Duplicate Matching Condition. This improvement streamlines configuration, reduces redundancy, and increases flexibility in detecting duplicates across Dynamics 365 CRM records.

  • Current Behavior: Only one field can be selected for comparison

  • New Behavior: Multiple fields can now be selected. The system applies an OR logic across the selected fields during duplicate detection

Steps to Configure Multi-Field Matching:

  1. Navigate to Duplicate Detection Rules in DeDupeD.

  2. Open or create a Duplicate Matching Condition for the desired primary entity.

  3. In the Matching Entity Field section, click + Add Field.

  4. Select one or more fields from the matching entity that should be compared against the Primary Entity Field.

  1. Repeat step 4 if additional fields are needed

  2. Review the configuration — the system will automatically apply OR logic across all selected fields.

  3. Click Save & Close to apply the changes.

  • Matching Criteria: Here you can select a matching method for duplicate detection from five different matching methods:

    • Exact Matching Method: With this method, you can detect duplicates with exactly same characters.

      For example, if an existing contact record contains first name ‘Smith’ and a new record is also created with first name ‘Smith’, then by using this method, you can detect duplicate records that contain fields with exactly same characters.

    • First N Characters Matching Method: With this method, you can detect duplicates in the record fields based on same first N characters. Additionally, you can also define the number of characters for duplicate detection; let’s say you select ‘3’.

      For Example, if an existing contact record’s first name is ‘Smith’ and a new record is also created with the same first name as ‘Smith’, then by using this method, you can detect duplicate records containing same first ‘3’ characters as the existing record, i.e., ‘Smi’.

    • Last N Characters Matching Method: With this method, you can detect duplicates in record fields based on the same last N characters. Additionally, you can also define the number of characters for duplicate detection; let’s say you select ‘3’.

      For Example, if an existing contact record’s first name is ‘Smith’ and a new record is also created with a first name as ‘Smith’, then by using this method, you can detect duplicate records containing the same last ‘3’ characters as the existing record, i.e., ‘ith’.

    • Contains Matching Method: With this method, you can detect duplicates based on any character in a primary entity field.

      For Example, if an existing contact record's first name is ‘Smith’ and a new record is created with the first name 'Smit', then by using this method, you can detect duplicate records containing the word ‘Smit’ from the existing record.

    • Fuzzy Matching Method: With this method, you can identify duplicates by comparing the phonetic similarity of records, even if they're spelled differently.

      For example, it can detect that "John Smith" and "Jon Smyth" are likely two contact records for the same person, despite variations in spelling. This method ensures that similar-sounding names or terms are accurately identified and merged, enhancing data accuracy and consistency.

  • Ignore Blank: You can select whether to ignore blank fields while executing duplicate matching conditions. By default, it is set to ‘Yes’.

    For Example, if you select ‘Ignore Blanks’ as ‘Yes’ and have an existing contact record with a blank ‘First Name’ field and you create a new record with a blank ‘First Name’ field, then the matching condition will ignore the blank field while duplicate detection, and let you create a new contact record with a blank ‘First Name’ field.

    If you select ‘Ignore Blanks’ as ‘No’ then the matching condition will not ignore the blank field while duplicate detection, and it will not let you create a new contact record with a blank ‘First Name’ field.

  • Number of Characters: Add your desired Number of characters.

  • Once the required fields are filled in, click ‘Save and Close’.

  • After creating duplicate matching condition, ‘Click’Publish’ to publish the ‘Duplicate Matching Rule’.

Last updated

Was this helpful?