Skip to main content

This content has been archived and is no longer being updated. Links may not function; however, this content may be relevant to outdated versions of the product.

Support Article

Compare functionality in history tab does not work properly

SA-26436

Summary



The Compare functionality in the audit history of a rule does not display accurate information. Version history instances and all other properties are displayed with incorrect ruleset. Compare takes the wrong instance for comparison.

Error Messages



Not Applicable

Steps to Reproduce

  1. Open an activity.
  2. Navigate to the History tab.
  3. Open the history.
  4. Click View all version.
  5. Select any two versions to compare.
  6. Click Compare.

Root Cause



The keys of the selected rules must be passed to PegaAccel-Management-Refactor-RuleSet.pyLaunchDiff activity for comparison. But during runtime, the key of the next rule of the selected rule is passed in CompareRules() method of pzRuleDiffHistoryScripts rule.

Note: History snapshots always store the contents of the rule before check-in or save action.

Resolution



Apply HFix-27138.

Published August 8, 2016 - Updated October 8, 2020

Was this useful?

0% found this useful

Have a question? Get answers now.

Visit the Collaboration 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 Community has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice
Contact us