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

Global Search option does not render more than 20 records

SA-105010

Summary



The Global Search option on the Customer Relationship Management for Health Care (CRMHC) Interaction portal does not return more than 20 records even if there are more records present. This occurs when Pega Customer Service 7.31 is installed on Pega 7.31.


Error Messages

Not Applicable


Steps to Reproduce

Perform a search for a keyword in the Global Search on the CRMHC Interaction portal.


Root Cause



The CPMSearchResultsWork activity fetches maximum of 20 records. The CPMSearchResultsWork activity inturn invokes the pzSearchResults activity to fetch the Search results on invoking it. The Param.allResults property is not set to True before invoking the pzSearchResults activity. Hence, the CPMSearchResultsWork activity fetches maximum of 20 records according to the .pyMaxWork property.

Resolution



Perform the following local-change in the CPMSearchResultsWork activity:
Set the Param.allResults property to True before invoking the pzSearchResults activity to fetch all the Search results.





The results are limited with the property Local.iCount>=Declare_CAApplicationSettings.WorkObjectSearchResults, instead of hardcoding to 20 after fetching the Search results. However, at the user end, Local.iCount>=20.


 

 

Published April 16, 2020 - Updated December 2, 2021

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