You are here:
Matching Criteria in Matching Rules
A matching rule applies criteria to determine how closely a field on a new or edited record matches the same field on an existing record. Standard matching rules include predefined criteria. When you create a custom matching rule, you define the criteria.
Required Editions
| Available in: Lightning Experience and Salesforce Classic |
| Available in: Essentials, Professional, Enterprise, Performance, Unlimited, and Developer Editions |
| Criterion | Definition | Automatically Defined for Custom Matching Rules |
|---|---|---|
| Field | Indicates which field to compare. When selecting fields, keep the following in mind.
|
|
| Matching Method | Defines the method for how the fields are compared. You can use the provided exact matching method for almost any field, including custom fields. A fuzzy matching method is available for commonly used standard fields. Each matching method is defined by normalization and match key definitions, matching algorithms, and other criteria. | |
| Match Blank Fields | Specifies how blank fields affect whether the two fields being compared are considered matches. If you select Match Blank Fields for a field and that field is blank in both records being compared, the fields are considered matches. However, if you select Match Blank Fields for a field and that field is blank in only one of the records being compared, the fields aren’t considered matches. If you don’t select Match Blank Fields for a field and that field is blank in both records being compared, the fields aren’t considered matches. |
|
| Match Key | A formula that improves the speed and performance of duplicate detection. When the matching rule runs, it compares the match key values of the saved record with existing records. If the saved record has the same match key value as an existing record, it’s a potential duplicate and evaluated further. If the saved record has a unique match key value, it’s not considered a duplicate. |
|
| Matching Algorithm | Defines the logic that determines whether two fields match. For the exact matching method, the exact matching algorithm is automatically used. For the fuzzy matching method, various fuzzy matching algorithms can be used. Each matching algorithm is scored based on how closely it matches the two fields. For example, if you select exact matching and the two fields match, the match score is 100. If the two fields don’t match, the score is 0. |
|
| Scoring Method | Determines how the matching algorithms’ match scores are calculated to come up with one match score for the field. Each matching algorithm is scored based on how closely it matches the two fields. Only standard matching rules use the scoring method. Average: Uses the average match score. Maximum: Uses the highest match score. Minimum: Uses the lowest match score. Weighted Average: Uses the weight of each matching method to determine the average match score. |
|
| Threshold | Determines the minimum match score needed for the field to be considered a match. The field is given a match score based on how closely it matches the same field in an existing record. |
|


