Support Article
Pega Case search does not display results
SA-69037
Summary
For some work objects, the case search does not display results. This occurs sporadically.
Error Messages
[PegaRULES-Batch-2] [STANDARD] [ ] [AAAA:01.25.01] (ndexer.DistributedIndexerAgent) ERROR - Incremental indexing of 'WORK' entries failed: Indexing request failed. Please contact your system administrator.
com.pega.pegarules.priv.search.nextgen.FTSException: Indexing request failed. Please contact your system administrator.
at com.pega.platform.pegasearch.indexer.internal.AbstractIndexer.processUpdateIndexImpl(AbstractIndexer.java:401) ~[pegasearch.jar:?]
...
Caused by: com.pega.pegarules.pub.PRRuntimeException: Failed to index instance with key [YOUR-PROVIDER-WORK-DC DC-1580]
at com.pega.platform.pegasearch.indexer.internal.IndexExecutorHelper.processDocumentIndexEntry(IndexExecutorHelper.java:759) ~[pegasearch.jar:?]
at com.pega.platform.pegasearch.indexer.internal.IndexExecutorHelper.addDocuments(IndexExecutorHelper.java:697) ~[pegasearch.jar:?]
at com.pega.platform.pegasearch.indexer.internal.AbstractIndexer.processUpdateIndexImpl(AbstractIndexer.java:393) ~[pegasearch.jar:?]
... 20 more
Caused by: java.lang.RuntimeException: caught exception while expanding property Group on page .Directory(1).DirectoryDetails
...
Caused by: com.pega.pegarules.pub.clipboard.WrongModeException: The property .Group was of mode Page List while com.pega.pegarules.data.internal.clipboard.ClipboardPropertyImpl.setValueOverride(Object) was expecting a String or Page mode. Details: (none)
at com.pega.pegarules.data.internal.clipboard.ClipboardPropertyImpl.setStringValueOverride(ClipboardPropertyImpl.java:4519) ~[prprivate.jar:?]
at com.pega.pegarules.data.internal.clipboard.ClipboardPropertyImpl.setValueOverride(ClipboardPropertyImpl.java:4078) ~[prprivate.jar:?]
...
Steps to Reproduce
- Create a case in the application.
- Proceed till a certain point.
- Search for the case using the case ID.
Root Cause
The rule resolution did not set the group property as a page group. It instead sent a property of type String that is present in the lower ruleset.
ClipboardPropertyImpl.setValueOverride method accepts String or Page. However, the .Group which is passed to the method is a page list. A runtime exception displays while expanding the .Group on a page.
Resolution
As a local-change, save the property in the lower ruleset.
Published January 3, 2019 - Updated October 8, 2020
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.