Question

1
Replies
403
Views
AttilaDonath Member since 2016 9 posts
Cognizant
Posted: 3 years ago
Last activity: 3 years ago
Closed

How to delete / hide a class from a specific ruleset version?

Hi,

During development I refactored the application's data structure and that resulted in a class being obsolete. I would like to delete / hide that specific class from App Explorer without unlocking all of the previous rulesets.

Note:

Concrete example:

Ruleset version 0.0.1:

Org
└──Org-Int
   └── Org-Int-Document

Ruleset version 0.0.51:

  • Rulesets from 0.0.1 to 0.0.50 are locked.
  • I realized that there are more document-related classes needed and I would like to logically group them under a parent class.
  • Org-Int-Document class was moved (recreated) under Org-Int-DocumentManagement.
  • Let's say, all the classes are abstract, they only act as data structure, there is no need for data migration.
Org
└──Org-Int
   ├── Org-Int-Document  <-- This is obsolete, it was moved under DocumentManagement
   └── Org-Int-DocumentManagement
       ├── Org-Int-DocumentManagement-Document
       └── Org-Int-DocumentManagement-DocumentVersion

How to solve that, how to delete / hide the obsolete Org-Int-Document class from Ruleset version 0.0.51?

I know there is no simple solution for that in Pega.
I would like to ask what is the Pega way to solve this task, is there an existing coding pattern / guideline in the Pega community?

Best regards,
Attila

Low-Code App Development Low-Code App Development Dev/Designer Studio
Moderation Team has archived post
Share this page LinkedIn