You are here: Record management > Deleting a rule > Restrictions on deleting rules
Restrictions on deleting rules
Several conditions prevent a delete operation from completing:
- You cannot delete a rule that belongs to a locked ruleset version. However, in most situations, you can create a blocked or withdrawn rule in your application that masks—makes invisible to rule resolution—a rule no longer useful or wanted in your application.
- By definition, you cannot delete standard rules, because they are part of the Pega 7 Platform product. Many can be overridden, but none can be deleted.
- You cannot delete any rule or data instance unless allowed by an Access of Role to Object rule associated with your access role, and also not disallowed by any Access Deny rules associated with your access role.
- You cannot delete a rule where the Circumstance or Start Time fields are blank if your system contains other rules with identical keys that are or . Delete the qualified rules first, and then delete the unqualified rule.
- You cannot delete an Operator ID at a time that the operator has checked-out rules. Have the operator sign in, and delete or check in all rules in the personal ruleset.
- You cannot delete a concrete class that contains instances.
- You cannot delete a class , either concrete or abstract, when the system contains rules with that class name as the Applies To class. You are prompted with a list of the rules that you must delete before the class rule itself is deleted.
- You cannot delete a ruleset version rule that identifies a non-empty collection of rules. Delete each of the rules in the version first.
- You cannot delete a ruleset for which a ruleset version exists. Delete each version first.
Open topic with navigation