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

Case Match rule does not work as expected

SA-21743

Summary



A case match rule was created to perform duplicate search with Date properties to search and compare. At run time, system throws an error and duplicates the search.

Error Messages



 

Steps to Reproduce



1. Create a flow and a flow action.
2. Configure an activity in the flow action after processing.
3. In the activity, call pyDuplicateSearchCases.
4. Configure a duplicate case in Details tab of the case.
5. Configure a date property in it, which is pyDefaultCaseMatch rule.
6. Run the flow.

Root Cause



The right side of the expression in the case match rule is of DateTime type, whereas the left hand side property is of date type. This is an expected behavior. DateTime control is used in the user interface (UI) section. The report definition throws the error while running.

Resolution



Perform the following local-change:
Use properties of same type in case match rule. Convert the property type to DateTime.

Published April 13, 2016 - Updated October 8, 2020

Was this useful?

0% 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