We are using pxRetrieveSearchData activity for case search and Report definition which is called in pxRetrieveSearchData activity is running on Elastic Search. When we are adding the search criteria with AND operator eg. abc AND def, AND is acting like as string not an Boolean operator. Please suggest that how to customize the parameter for activity pxRetrieveSearchData.
@RamakrishnaR4848 To use the AND operator in your search criteria with pxRetrieveSearchData activity, you need to modify the pySearchString parameter. Instead of using "abc AND def", you can use parentheses and double quotes to group the terms, like this: "(abc) (def)". This will ensure that both terms are treated as separate search criteria and the AND operator is applied implicitly between them.
This answer came from a Pega gen-AI assistant using the below references.
As a Support Center moderator, I reviewed the answer and references for accuracy