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-25385

Summary



The compare functionality in the history tab of the rule does not provide all information on which property or step gets changed.


Error Messages



Not Applicable.


Steps to Reproduce

  1. Open an Activity Rule.
  2. Go to the history tab.
  3. Open the history.
  4. Click on view all version.
  5. Select any two versions to compare.
  6. Click the Compare button.


Root Cause



The keys of the selected rules need to be passed down to the 'PegaAccel-Management-Refactor-RuleSet.pyLaunchDiff' activity for comparison. During runtime, the key of the selected rule's next rule is being passed in to the CompareRules() method of the pzRuleDiffHistoryScripts rule. 

Note: History snapshots always stores the contents of the rule before the action (check in/save) occurred. Having said that, this fix will only allow the user to compare two history rules but not compare the current version of the rule with a history rule. 
 

Resolution



Apply HFix-28214 to resolve this issue. HFix-28214 modifies the CompareRules() method of pzRuleDiffHistoryScripts rule to not to get the next rule's key of a selected rule.
 

Published July 22, 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