Add a weighted condition to your duplicate logic to associate criteria with an importance, or weight, that is relative to other conditions. By using weighted conditions, you can more accurately find duplicate cases.
In the explorer panel of Designer Studio, click Cases and then click the name of a case type.
On the Settings tab, click Track duplicates.
In the Case is duplicate when sum >= field, enter a threshold between 1 and 100 that a case must exceed for it to be considered a duplicate.
Click + Add condition.
Click the fx icon and select a function.
In the Weight field, enter an integer between 1 and 100 that is added to the total weight of a case when the condition is met.
In the fields that are displayed for the function, enter property names or values to compare with existing cases.
Tip: Use the Primary keyword in these fields to distinguish between property values in the current case and existing cases. For example, enter Primary.FirstName and .FirstName in the fields for the [first string] equals [second string] function.
Click OK.
Click Save to store your settings in the pyDefaultCaseMatch case match rule.
Note: It is possible for a case to match weighted conditions but not be a duplicate. It is the set of exact conditions and the total weight of a case that determine whether a case is a duplicate.