Support Article
Search option does not work correctly and all records display
SA-42493
Summary
The Search option does not work correctly for the Data Class records in the local storage.
Error Messages
Not Applicable
Steps to Reproduce
- Create a data class.
- Navigate to the Records tab and add records.
- Search for any record. All the records display.
Root Cause
In the pzFilterDataTableRecords data transform, Step 5.2.1.3.1 (@(Pega-RULES:DecisionTable).ObtainValue(tools,Primary,pzMapFilterLogic))!="" failed.
The pzMapFilterLogic decision table returned false because the data type for the decision displayed as 'Identifier' which is not listed in the map. In the working case, the data type displayed as 'Text'.
Resolution
Perform the following local-change:
In the pzFilterDataTableRecords data transform, modify Step 5.2.1.3.1 (@(Pega-RULES:DecisionTable).ObtainValue(tools,Primary,pzMapFilterLogic))!="" to always return true.
Published October 8, 2020
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.