Support Article
Report Definition not fetching Subclass Instances
SA-4436
Summary
User has created a new subclass *ABCD-ABC-AB under *ABCD-ABC class for which they are creating work objects. *ABCD-ABC belongs to a class group *ABCD. The existing report which is in *ABCD-ABC class is not fetching work objects of ABCD-ABC-AB subclass.
Error Messages
NA
Steps to Reproduce
1. Create a Sub class to an existing class *ABCD-ABC-AB
2. Create work object in this subclass
3. Create a Report Definition in ABCD-ABC
4. Not fetching Work Object in *ABCD-ABC-AB class
Root Cause
The root cause of this problem is a defect in customer application code/rules.
If the ReportDefinition applies to class which is itself a Classgroup, then the report will contain the results of all the subclass instances also. But if the applies to class is 'Belongs to a classgroup' then the report will contain only the results of that class only, it does not result all the subclass work objects.
Resolution
This issue is resolved through the following local change:
Suggested customer to create a report definition in class group (here 'ABCD') which will return the results of all the subclasses.
Published January 31, 2016 - Updated October 8, 2020
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.