Report Definition not getting instances from descendant classes
Hello.
First thing first, context : customer-designed implementation and framework built on CSHC 7.2.1 over Pega 7.2.1
When launching an interaction, in the the View 360, there is a list of previous interactions performed for the related member (or provider).
When lcicking on one of these interactions, the list of the service cases which were started in the scope of this previous interaction is displayed.
Problem: this list is almost always empty.
I think I tracked the problem down to the PegaCPMHC-Work CPMHCGetRelatedServiceItemsDetails Report Definition.
While the right option is checked in this RD it seems it is not "searching down" in descendant classes to retrieve instances.
And, of course, most service cases are not instances of PegaCPMHC-Work or of classes inheriting from PegaCPMHC-Work and belonging to the same class group but are instances of classes which are inheriting from PegaCPMHC-Work but are belonging to other class goups.
So basically in he database, most service case instances are stored in several tables.
Still, with the "Report on descendant class instances" checked, I was expecting (as it is specified in the documentation) that the RD was going to search in each and every table corresponding to all the class groups defined by classes inheriting from PegaCPMHC-Work with some UNION statements generated in the SQL query running "behing the scene".
Was I wrong when I expected just that?