Skip to main content

This content has been archived and is no longer being updated. Links may not function; however, this content may be relevant to outdated versions of the product.

Support Article

Duplicate error messages on duplicate search



Validation message displays multiple times when a case is resolved using the ‘Resolve as Duplicate’ option.

Error Messages

Not Applicable

Steps to Reproduce

  1. Create a simple case type 'Customer'.
  2. In this class coupled to the 'Customer' case, create a property 'FirstName' of type Text and optimize this property.
  3. In the case type settings, Track Duplicates, set:
    1. Weighted conditions: 10 for Primary.pyLabel = .pyLabel (since weighted condition is mandatory)
    2. Set 'Case is duplicate when sum >= 10'.
    3. Enable 'Configure must match conditions' and set '.FirstName is same'.
  4. Open the 'Case Match' pyDefaultCaseMatch decision rule coupled to the class of the case of interest and add an additional must match condition, '.FirstName is not null'.
  5. Customer case type, refresh settings and confirm the 'Track duplicates'.
    Note: .FirstName IS NOT NULL is added to the must match condition.
  6. In the 'Customer' case, add a simple process consisting of an assignment (collect information) and 'search for duplicates' flow utility. The 'collect info' simply accepts FirstName via text input.
  7. Launch the 'Case Worker" portal and run the 'Customer' case. Enter values to trigger a duplicate match.
  8. Click to Resolve as Duplicate without selecting an existing case.

Root Cause

A defect in Pegasystems’ code or rules.


Perform the following local-change:
  1. Perform a Save As of the pyDuplicateSearchCasesBtns in the ruleset.
  2. Change the Resolve As Duplicate button type (from pzActionButton to a normal button).
  3. Add an action set in the Click event.

    a. Run a data transform and mention the name of the newly created data transform (for example, SetDuplicateCaseAction). Add a step in the data transform to set the value of DuplicateCaseAction to a parameter name such as, param.DuplicateActionName. From the action, pass the parameter as Resolved.
    b. Add another action, Finish Assignment.

  4. Open the pyDuplicateSearchCases Flow Action Save As and add a post-processing activity (create a new activity),
    (for example, PostDuplicateSearchCaseAction). Call the pyPostDuplicateSearchCases existing activity and add a When condition to check DuplicateCaseAction == "Resolved" and an Else Skip step. Open the pyPostDuplicateSearchCases (applied to Work-), Save As and comment Steps 5 and 10.
  5. Save all the changed rules.

Published March 21, 2018 - Updated December 2, 2021

Was this useful?

50% found this useful

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.

Did you find this content helpful?

Want to help us improve this content?

We'd prefer it if you saw us at our best.

Pega Community has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice
Contact us