Robert Brodeur (brodr)
Sr Tech Doc Specialist
Pegasystems Inc.
brodr Member since 2013 6 posts
Posted: May 27, 2015
Last activity: September 21, 2015
Posted: 27 May 2015 16:04 EDT
Last activity: 21 Sep 2015 10:03 EDT

Post-skimming rule deletion

Here's a situation that you might find useful when working with rules in Pega 7.


I want to get rid of rules that have been skimmed to a new, higher version of Pega 7. How can I delete rules in PRODUCTION post skimming?



Be careful about deleting entire rulesets or even version-by-version.

Skimming only skims versioned rules.

Non-versioned rules, such as Rule-Obj-Class, and Rule-Access-Role-Object, remain in the version in which they were created.

Ruleset versions can be deleted if they are known to not contain non-versioned rules. However, there is a better way to achieve the desired result as explained below.

  1. Within the DEVELOPMENT environment, define a Product Rule for an Application that does not package every rule. Instead, the Product Rule only mentions the skimmed-to version for rulesets that have been skimmed.
    1. Create a Package jar using the Product Rule then import it into a new database. This effectively “deletes” every versioned rule less than the skimmed-to version in every ruleset that was skimmed.
    2. Test the result against pre-existing production-like data.
  2. Within the PRODUCTION environment, leave the DATA schema and current RULES schema intact.
    1. Create a new RULES schema, and then import the rules from (1) into it.
    2. Point to the new RULES schema.
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 Discussion, please write a new Discussion.