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 does not work correctly for custom parameters

SA-27373

Summary



Issue 1: Global Search by default retrieves 20 results based on parameter pyMaxWork. On modifying pyMaxWork = 40 in pySearchWorkParams activity, then results retreived by search API is always 20 only.

Issue 2: Also, Search should return recent created items but it does not for example return the lastest results for a quarter.

Error Messages



Not Applicable


Steps to Reproduce



1. Create 20+ workitems. 
2. Change pyMaxWork to 40 and add a filter to return work items in a quarter in the activity pySearchWorkParams. 
3. Perform a global search in case manager portal. Only 20 items are returned but they are not the recent ones.


Root Cause



Issue 1 :  pyMaxWork cannot modified. This is as per design. 
Issue 2: User made use of pxUpdateDateTime with symbolics like Last 90 Days to return the latest results. This does not work from pzSearchResultsWork.

Resolution



Issue 1: pySearchWorkParams is an extension activity to add additional filters. Additional properties set here like for pyMaxWork do not get honoured. 
Issue 2: Filter on pxUpdateDateTime with symbolics like Last 90 Days does not work from pzSearchResultsWork.Instead, it's suggested to use pzWorkLastUpdated with 'Last 90 Days'. 

Published September 8, 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