Back Forward How to recover a deleted rule

  Show all 

You can recover the most recent version of a deleted rule if the RuleSet and version is unlocked. and the rule was deleted within the last 90 days. This technique provides a form of "undelete."

TipDon't confuse Recover with Restore; they are different. Use the Restore toolbar button (Restore) 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 Deleted, 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:

  1. If the rule is not part of the current application, access the application menu and select Switch Application > application to make that application current.
  2. Select Pega button > Process and Rules> Tools > Find Rules > Summary of Recently Updated ONLY SHOWS RULE CHANGES FOR TODAY???
  3. Click the plus sign to expand the Version that contained the deleted rule.
  4. 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.)
  5. 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.
  6. 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.
  7. Click the  Recover from History   button below the message. The deleted rule form displays, marked as deleted.
  8. Click the Recover toolbar button (). The rule and its history are re-established.

  Recovering using the Recent Actions gadget

You can use the Recent Actions gadget to look for the deleted rule.
  1. If the rule is not part of the current application, access the application menu and select Switch Application > application to make that application current.
  2. Select Pega button > Application > Development > Recent Actions to access the Recent Actions gadget.
  3. Click a column header to sort the display by Action, RuleSet, or Rule Key to help you find the Delete action.
  4. Hold the pointer over the Rule Name value in the row containing the Delete action.
  5. Click the Open buttonOpen that appears to the right of the rule. The rule form for the deleted rule appears, marked with a red X.
  6. Click the Recover toolbar button (). The rule and its history are re-established.

  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.)

  1. select Pega button> Process & Rules > Work Management > Monitor Activity.
  2. Locate the Rule Reports section of the workspace. Click the Rule Update History link. A criteria form appears. B-14421
  3. In the Target Class Name row, enter the rule type of the deleted rule instance using initial capitals, for example Rule-Obj-Property.
  4. 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.
  5. Optional. If you know who deleted the rule, enter the user's Operator ID in the Performer field.
  6. Click  Submit  . B-15475
  7. 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.
  8. 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.
  9. Click the  Open this Record   button below the message. The deleted rule form displays, marked as deleted.
  10. Click the Recover toolbar button (). The rule and its history are re-established.
Related topics Designer Studio basics
Application category — Development landing page
Process and Rules category — Tools menu

Up Designer Studio — How to use the toolbar