Improve the performance of your duplicate case search and limit the number of potential
duplicates by defining weighted conditions for a potential duplicate case. Determine whether the
case is a potential duplicate by assigning a relative weight to each condition and by
calculating the total weight of a case.
-
In the navigation panel of Dev Studio, click Case types, and then click the
case type that you want to open.
-
On the Workflow tab, click Life
cycle.
-
Click the Search duplicate cases step for which you want to
define weighted conditions.
-
In the step property panel, click + Add weighted
condition.
-
In the Weight field, enter a value between 1 and 100 to add to
the total weight of a case when it meets the condition.
-
In the Potential duplicate, Comparator,
and Current case fields, enter property names and values that you
want to use in a comparison against existing cases, to determine duplicates.
For example: To compare your case with all cases with a Resolved-Completed status, perform the
following actions:
- In the Potential duplicate list, click Case
status.
- In the Comparator list, click is equal
to.
- In the Current case list, enter
Resolved-Completed.
-
Click OK.
-
To add more weighted conditions, repeat steps 4 through 7.
-
In the And weighted conditions sum at least field, enter a
weight sum threshold for the case to be considered a potential duplicate case.
Tip: The threshold value should be less than the sum of all weighted
conditions.
-
Click Save.
Result: At run time, users can decide whether to close a case as a
duplicate or ignore the potential duplicate and continue. A dialog box provides the reason for
marking the case as a potential duplicate, which helps users make an informed
decision.