Rule versions review and comparison
Inspecting and comparing rule versions helps you resolve merge conflicts, review and debug code, and audit changes that a developer made while the rule was checked out.
For example, you can compare the rule that you currently work on with previously checked out versions of the rule, branched versions, or the same rule in other ruleset versions.Depending on your needs, you can inspect and compare rules in Pega Platform in the following ways:
- Viewing changes to a specific rule on the History tab of the rule
- View changes to a rule by reviewing different versions of the rule.
For more information, see Viewing changes to a specific rule.
- Viewing versions of a rule on the Actions menu on a rule form
- View differences between the current rule and a selected version and modify
your version of the rule.
For more information, see Comparing rule versions.
- Comparing rules and rule versions with the Compare Rules tool
- Compare two different rules or two versions of a rule. The tool displays
results in a user- friendly, color-coded way. You also can use the tool to
export the results to a Microsoft Excel spreadsheet.
You can compare rules of the following types:
- Activity
- Data Transform
- Function
- Validate
- Other technical rules that are text, such as the text files, JSP, and HTML rules.
- Viewing changes to a specific rule
Get quick and full insight into the changes to a rule by reviewing different versions of the rule on the History tab of the rule.
- Comparing rule versions
Compare rule versions to resolve merge conflicts, debug code, and audit changes that application developers made during rule check out. You can compare a rule with versions of the rule from before the rule check out, with the branched versions, or with the same rule in other ruleset versions.
- Comparing rules and rule versions with the Compare Rules tool
Apply the Compare Rules tool to two different rules or two versions of the same rule to identify and review changes between rules. The side-by-side comparison lets you quickly find the additions, deletions, or value changes that have occurred between two versions of a rule.
Previous topic Find Rules by Custom Field Wizard - Step 4 Next topic Viewing changes to a specific rule