Posted: 1 Nov 2017 8:24 EDT Last activity: 2 Nov 2017 5:04 EDT
"Report on descendant class instances" option on Report Definitions
Created a application on the top of pega Frame work. Using one Report defination rule from framework in that "Report on descendant class instances" Option is checked and in that include implementation class only radio button checked.
But it is not pulling the records from my application.So how to know our class is implementation class ? and how to know the implementation class hierarchy.
There is an API available getConcreteDescendantsInCurrentApplication(String className) which returns the list of implementation classes for a given FW class.
We can write an activity which includes a Java step and invoked this as below:
If the Report Definition has its Applies-to as a framework class, and if the checkbox "Report on descendant class instances check box" in the Report Definition form is checked, at run time the report can use the corresponding implementation class, not the framework class, for comparisons and report content. This feature eliminates the need to copy each framework class-based report definition into the implementation class.