# Changing class type in Pega

**URL:** <https://forums.pega.com/t/changing-class-type-in-pega/5938>\
**Category:** Pega-as-a-Service\
**Tags:** devops, 8-7-4, case-management, pega-platform\
**Created:** [January 29, 2024, 4:19pm UTC](https://forums.pega.com/t/changing-class-type-in-pega/5938 "2024-01-29T16:19:02Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Chetan14](https://avatars.discourse-cdn.com/v4/letter/c/c57346/32.png) [@Chetan14](https://forums.pega.com/u/Chetan14)\
**Post date:** [January 29, 2024, 4:19pm UTC](https://forums.pega.com/t/changing-class-type-in-pega/5938/1 "2024-01-29T16:19:02Z")

</div>

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?

---

<div class="post-metadata">

**Author:** ![SoumyajitB1](https://yyz2.discourse-cdn.com/pega/user_avatar/forums.pega.com/soumyajitb1/32/5894_2.png) [@SoumyajitB1](https://forums.pega.com/u/SoumyajitB1)\
**Post date:** [January 29, 2024, 5:06pm UTC](https://forums.pega.com/t/changing-class-type-in-pega/5938/2 "2024-01-29T17:06:25Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![Chetan14](https://avatars.discourse-cdn.com/v4/letter/c/c57346/32.png) [@Chetan14](https://forums.pega.com/u/Chetan14)\
**Post date:** [January 30, 2024, 9:20am UTC](https://forums.pega.com/t/changing-class-type-in-pega/5938/3 "2024-01-30T09:20:04Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![MarijeSchillern](https://yyz2.discourse-cdn.com/pega/user_avatar/forums.pega.com/marijeschillern/32/23321_2.png) [@MarijeSchillern](https://forums.pega.com/u/MarijeSchillern)\
**Post date:** [February 16, 2024, 12:04pm UTC](https://forums.pega.com/t/changing-class-type-in-pega/5938/4 "2024-02-16T12:04:19Z")

</div>

@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.

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

[Organizing Rules into classes](https://docs.pega.com/bundle/platform/page/platform/app-dev/organizing-rules-into-classes.html)

[Case Type Creation (Best Practice)](https://support.pega.com/question/case-type-creation-best-practice)

[C \> Cover](https://docs.pega.com/bundle/customer-service/page/glossary/c/glossary-c.html)

[Case Types](https://docs.pega.com/bundle/platform/page/platform/case-management/case-types.html)

---

<div class="post-metadata">

**Author:** ![GiridharanVenkat](https://avatars.discourse-cdn.com/v4/letter/g/b2d939/32.png) [@GiridharanVenkat](https://forums.pega.com/u/GiridharanVenkat)\
**Post date:** [February 19, 2024, 8:06am UTC](https://forums.pega.com/t/changing-class-type-in-pega/5938/5 "2024-02-19T08:06:19Z")

</div>

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.
