Case search is not working in global search
Case search is not functioning in global search. When user adds exact object class in the APPLICATION RULE search is working, but the user wants this to be dynamic and not use the hard coded list from each stacked Application "Cases & Data" Tab.
Steps to Reproduce
Search any case in global search field in user portal.
Search parameters from out of the box CPM framework did not fully meet the custom requirement.
User has made the changes in the activity of "CPMSetSearchWorkParams" and set .pzWorkTypes = "All Work Types"(it makes a call to all work types), After this change, user gets search results.