searching api D_pyWorkSearch does not cover the new added property in case type

searching api D_pyWorkSearch does not cover the new added property in case type.

We add a new property to a case type that may store a user ID in some scenarios.

However, for a case storing a user ID in this property, it is not returned by the D_pyWorkSearch with the user ID as searching keyword.

Seems the new property is not covered by the data page searching scope though it has been exposed.

Any idea for it? If we need merge this property from a branch to a ruleset?

@MaxonL16591286

I guess you need to create a Custom Search Properties rule instance.

If you have introduced a new application specific property and you want that to be included in the elastic search then you need to create a new Custom Search Properties instance in the applies to class of that property and include all the such custom properties there.

Also make sure in the Configure → System → Settings → Search → Dedicated tab your custom search properties are successfully indexed.

@MaxonL16591286 you need to add the property to custom search properties rule instance and rebuild the work class. Please check the below url for reference.

https://support.pega.com/question/adding-column-custom-search-property-search-results-pyworksearchresults