Conversation


Aaseya
IN
Last activity: 4 Jun 2025 2:46 EDT
Class group design for case types
I recently came across a support article in Pega where having different classgroup for each of the case type is discussed. It's 4 years old post to wanted to know what experts think about the appraoch and when one should go ahead with it ?
https://support.pega.com/question/lsa-course-class-group-design?
-
Reply
-
Share this page Facebook Twitter LinkedIn Email Copying... Copied!
Pegasystems Inc.
US
Thank you for reaching out with your question about class group design—it’s a great topic and definitely worth exploring, especially as best practices continue to evolve.
I’ve shared your inquiry with our Enterprise Technical Solutions Director, who will reply shortly with his insights.
Thanks again for the inquiry—we’ll follow up soon!

Pegasystems Inc.
US
In general, I like keeping my class groups separate, however there are some consequences as suggested in the portal, for example, reporting on descendent classes do not pick up data from a separate class group (living in a separate table). In the past, I have also seen issues with parent child relationship display on OOTB UI when the children were in different class groups. If you are looking to use different class groups for parent/child (cover/covered), I would double check that you can still see the child cases and child case assignments when looking at the case summary.
Separate class groups is good from the perspective of keeping your data separate across case types. It allows you to create table indexes specific for optimizing queries for that data and we minimize creating a lot of columns that will never be populated. It also reduces the number of records, thereby reducing the cost of querying.
The most important thing is that you want to get this done before you go-live. Once you deploy to prod cases sharing a class group, splitting that up can get really messy.
-
Mayur khandelwal


Aaseya
IN
@ChrisBoone : Thank you Chris for the quick reply much appreciated.
Below is my use case :
I have three case types: A, B, and C, which follow a parent-child relationship and belong to a single class group.
I am planning to introduce a new case type D, which can be:
- Related to A, B, or C (as an exception or dependent case), or
- Independent, without any association to the existing case types.
Since this is not a true parent-child relationship but still involves some dependency or reference to case types A, B, or C, I am considering designing case type D as an independent(stand-alone) case type with its own class group.
Do you think this is a good approach, or should I continue using the same class group, considering the dependency that D has on A, B, and C?
Regards,
Mayur

Pegasystems Inc.
US
separate class group makes sense. This sounds like something that might be of value to other applications. If so, I would consider creating an application for it that apps can use as a built on to bring into their applications.
-
Mayur khandelwal Sander Schouten


Aaseya
IN
@ChrisBoone : Thank you. We did think about it as built on application but due to data dependancy for case type D on either case type A OR B OR C from base application , we thought we need to go ahead with case type as built on won't be able to access data from base application directly.Hence thinking to go ahead with case type instead in same application. If you have any recommandation for accessing data then please let me know.