Question

1
Replies
69
Views
Close popover
Bob Reawaruw (BobReawaruw)
Atos
PEGA Architect
Atos
NL
BobReawaruw Member since 2018 56 posts
Atos
Posted: December 22, 2020
Last activity: December 22, 2020
Solved

Complex Parent-Child class inheritance

Context:

We are using (multiple) parent case-type(s) which can spawn (multiple) child case-type(s). We would like te reuse rules using class inheritance. However, our current class setup poses some issues to achieve this as the child classes also use class inheritance and are grouped by subject.

 

 

Example of our class setup:

 

Parent:

  • PEGA-MyApp-Work-Insurance

 

Child:

  • PEGA-MyApp-Work-Car-Repair
  • PEGA-MyApp-Work-Car-Maintanence
  • PEGA-MyApp-Work-Car-ContactDetails

 

  • PEGA-MyApp-Work-Motor-Repair
  • PEGA-MyApp-Work-Motor-Maintanence
  • PEGA-MyApp-Work-Motor-ContactDetails

 

  • PEGA-MyApp-Work-House-Repair
  • PEGA-MyApp-Work-House-Maintanence
  • PEGA-MyApp-Work-House-ContactDetails

 

 

All these Repair/Maintanence/ContactDetails child case-types inherit from the higher classes such as Car/Work/House. However, all these child case-types should spawn from the Insurance parent case-type. AND these child case-types should be able to inherit from their parent, thus from PEGA-MyApp-Work-Insurance. However, how is this to be achieved?

***Edited by Moderator: Pooja Gadige to add platform capability tag***
Pega Platform 8.4 Case Management