Skip to main content


         This documentation site is for previous versions. Visit our new documentation site for current releases.      
 

Deleting a ruleset

Updated on January 14, 2022

Use the RuleSet Delete tool to delete an entire ruleset or a specific version of a ruleset, or to restore a ruleset previously deleted with this tool.

Before you begin:
  • Don't delete a ruleset version that contains rules that are in use at the time.

  • Review access groups to confirm that they do not reference application rules to be deleted or the ruleset version to be deleted.

  • Review operator IDs that might reference skill rules (Rule-Admin-Skill) that will be deleted.

  • Review listener data instances (such as Data-Admin-Connect-EmailListener) to confirm that they do not reference service rules that will be deleted.

  • Check for other rules or data instances that may reference the RuleSet or version deleted, including:
    • Application rules ( Rule-Application rule type)
    • Other ruleset versions (as prerequisites)
  • If any checked-out rules are from the deleted ruleset version, open each checked out rule and delete it with the Delete Checkout toolbar icon.
Note:

If the ruleset includes one or more concrete classes derived from the Work- base class, and there are instances (work items) in the classes, they are deleted too.

This tool does not delete instances of the History-Rule class or Index- classes that may reference the ruleset or version. Such orphaned records do not require much space and are harmless.

  1. In the header of Dev Studio, click Configure > System >Refactor > RuleSets > Delete a RuleSet to start the tool.
  2. Select the ruleset to be deleted in the Original RuleSet field.
  3. Optional: Select a ruleset version to be deleted in the RuleSet Version field.
  4. Click the Delete button to begin processing. This may take several minutes.
    Result: The system creates a backup of the ruleset in PRPC's explicit temporary directory. A status area shows progress and the results of the operation.
  5. If errors occur, click the Total Number of Errors link in the lower right corner of the display form to see any error messages. This list can't easily be accessed after you close the form; print the list so you can research and address the errors.
  6. Click Close.
Result:

The system saves the deleted ruleset in a file called "RuleSetName_RuleSetVersion_DELETE.zip" in PRPC's temporary directory.

What to do next: If you deleted the ruleset by accident, enter the ruleset and version into the Delete a RuleSet form, and then click Restore.

Have a question? Get answers now.

Visit the Support Center to ask questions, engage in discussions, share ideas, and help others.

Did you find this content helpful?

Want to help us improve this content?

We'd prefer it if you saw us at our best.

Pega.com is not optimized for Internet Explorer. For the optimal experience, please use:

Close Deprecation Notice
Contact us