Question

74
Views
AlexanderS2783 Member since 2014 9 posts
IT
Posted: January 16, 2020
Last activity: January 16, 2020

Content rule search customization and searcher API documentation

Trying to extend full text search functionality with next requirement: when string like pzInsKey value passed to search string on dev studio (using pega 8.3.0), search result should contain exactly one result with corresponding instance (found by pzInsKey).

1) Tried to pass pzInsKey as parameter to Data-Find-Search.pySearchParams activity, like pyValue = pySearchText, pyName = "pzInsKey", pySection = pySection, similar as described below:

https://community1.pega.com/community/pega-support/question/content-rule-search-customization

Have only results with All Content option and pzInsKey in "", if picked up rule (in case when rule defined in multiple ruleset/ruleset versions) have same pzInsKey. But this typical behaviour without customization, so I guess it's not working as expected.

2) Second question: where can I found documentation to Searcher API? In Data-Find-Search.pzSearch activity first java step contains method call like below

pega.getSearcherAPI().search(myStepPage, tools.getParameterPage(), tools.getThread());

I want to know which activities, possibly reports launched within this call, and maybe example/advice about described pzInsKey search extension.

Low-Code App Development Data Integration Java and Activities
Share this page LinkedIn