How to recover a deleted rule
You can recover the most recent version of a deleted rule if the RuleSet and version is unlocked. This technique provides a form of "undelete", or "undo" for the delete operation.
Don't confuse Recover with Restore; they are different. Use the Restore toolbar button () to roll back to an older form of a rule using the accessed from the History Details button. See How to restore the earlier state of a rule.
Recovering immediately
If you realize that you deleted a rule by mistake when the rule form is still visible and marked with , immediately click the Recover toolbar button (). This re-establishes the deleted rule and its history as current.
Through a preference, you can control whether rule forms and data forms close immediately after you delete the rule or data instance.
Recovering after deleting earlier today
If the rule form is not still visible or was deleted by someone else, determine the rule type of the deleted rule and the RuleSet and version it belonged to. To recover a rule deleted today:
- If the rule is not part of the current application, access the application menu and select Switch Application > application to make that application current.
- Select > Process and Rules> Tools > Find Rules > Summary of Recently Updated to access a report of rules updated (checked in) today.
- Click the plus sign to expand the Version that contained the deleted rule.
- Within the version, click the plus sign that corresponds to the RuleSet that contained the deleted rule. (A few rule types, such as Class rules, do not belong to a version. Click the plus sign next to the RuleSet name to access these.)
- A list of rules appears, identified by rule type (Class). In the display, locate and click the row that you think identifies the deleted rule.
- When you find the row containing the rule you want to recover, click the row. A message at the bottom of the window indicates that the rule no longer exists.
- Click the Recover from History button below the message. The deleted rule form displays, marked as deleted.
- Click the Recover toolbar button (). The rule and its history are re-established.
Recovering using the Recent Actions gadget
Recovering when you know the rule type, Operator ID, or RuleSet
Use this method when you know the rule type of the deleted rule, the Operator ID of the person who deleted it, or the RuleSet it belonged to, but perhaps not the exact rule key. (This technique works for rules deleted in the last 90 days only.)
- Select > Reporting > Reporting Access > Monitor Activity.
- Locate the Rule Reports section of the workspace. Click the Rule Update History link. A criteria form appears.
- In the Target Class Name row, enter the rule type of the deleted rule instance using initial capitals, for example Rule-Obj-Property.
- Optional. If you know the name of the deleted rule's RuleSet, enter it in the RuleSet fields. If the rule was checked out to you when it was deleted, enter your Operator ID as the RuleSet.
- Optional. If you know who deleted the rule, enter the user's Operator ID in the Performer field.
- Click Submit .
- A list of rules matching the specified class, RuleSet, and Performer appears. In the query results display, locate and click the row that you think identifies the deleted rule. The Memo field contains the word "deleted." If necessary, expand one or more collapsed rows to see the detail.
- When you find the row containing the rule you want to recover, click the row. A message at the bottom of the window indicates that the rule no longer exists.
- Click the Open this Record button below the message. The deleted rule form displays, marked as deleted.
- Click the Recover toolbar button (). The rule and its history are re-established.
Designer Studio — How to use the toolbar