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 8, 2016 - Updated July 21, 2016

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.