Deleting a ruleset

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.