# Case Type creation fails when using branch

**URL:** <https://forums.pega.com/t/case-type-creation-fails-when-using-branch/2398>\
**Category:** General\
**Tags:** 7-4, case-management\
**Created:** [March 21, 2022, 3:16pm UTC](https://forums.pega.com/t/case-type-creation-fails-when-using-branch/2398 "2022-03-21T15:16:50Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![UdhayachanderG7215](https://avatars.discourse-cdn.com/v4/letter/u/97f17d/32.png) [@UdhayachanderG7215](https://forums.pega.com/u/UdhayachanderG7215)\
**Post date:** [March 21, 2022, 3:16pm UTC](https://forums.pega.com/t/case-type-creation-fails-when-using-branch/2398/1 "2022-03-21T15:16:50Z")

</div>

Hi,

When I try to create a new case type, by entering the name of the case type, development branch and ruleset, I get an error that says “Ruleset version—No unlocked RuleSet Version is available to create or update Rule-Obj-Class” followed by class name.

The ruleset specified does not have unlocked versions, but shouldn’t the class be created in the branch specified? Please help me resolving this.

Thanks,

Udhay

---

<div class="post-metadata">

**Author:** ![UdhayachanderG7215](https://avatars.discourse-cdn.com/v4/letter/u/97f17d/32.png) [@UdhayachanderG7215](https://forums.pega.com/u/UdhayachanderG7215)\
**Post date:** [March 21, 2022, 5:08pm UTC](https://forums.pega.com/t/case-type-creation-fails-when-using-branch/2398/2 "2022-03-21T17:08:58Z")

</div>

It appears to be a product bug in Pega. The system validates for an unlocked ruleset version even if a branch is specified. However no rules are ultimately created in the unlocked RSV when the case type is created.

Workaround: Have an unlocked RSV when creating the case type. Lock or delete it once done.
