Changing class type in Pega

Hi,

I have abstract class and this class extended by two case types e.g
ABC-Work-Insurance (Abstract)

ABC-Work-Insurance-Car (Case type 1) (Concrete class)

ABC-Work-Insurance-Bike (Case type 2)(Concrete class).

and common rules for both the case types are present in parent class, now I wanted to create a case type at Parent level which is abstract , so here my question is can I change the class type from Abstract to concrete?

Hi@Chetan14

Assuming that ABC-Work is your class group you can switch ABC-Work-Insurance from Abstract class to Concrete class which belongs to class group ABC-Work.

@SoumyajitB No since the class is abstract there is no class group for ABC-Work-Insurance

@Chetan14

In Pega, you can create a case type at the parent level. However, it’s important to note that the parent class you mentioned (ABC-Work-Insurance) is an abstract class. Abstract classes in Pega are typically used to group common properties and behaviors that can be shared among multiple case types, but they do not themselves represent a specific case type.

If you want to create a case type that shares common rules with both ABC-Work-Insurance-Car and ABC-Work-Insurance-Bike, you could create a new case type at the same level as Car and Bike, and have it inherit from ABC-Work-Insurance. This way, it would have access to the common rules defined in the parent class.

:warning: This is a GenAI-powered tool. All generated answers require validation against the provided references.

Organizing Rules into classes

Case Type Creation (Best Practice)

C > Cover

Case Types

Hi @Chetan14 , you can’t create a case type at parent level since it is a abstract class but you can create new child case type on top of this parent level , you can reuse all the properties from the parent level there.