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
- Open an Activity Rule.
- Go to the history tab.
- Open the history.
- Click on view all version.
- Select any two versions to compare.
- 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
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.