Question

1
Replies
442
Views
Attila Donath (AttilaDonath)
Cognizant
Pega Lead System Architect
Cognizant
CH
AttilaDonath Member since 2016 10 posts
Cognizant
Posted: October 3, 2017
Last activity: October 4, 2017
Posted: 3 Oct 2017 17:08 EDT
Last activity: 4 Oct 2017 2:28 EDT
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:

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 Enterprise Application Development Dev/Designer Studio
Moderation Team has archived post, This thread is closed to future replies. Content and links will no longer be updated. If you have the same/similar Question, please write a new Question.