Comparing the Scripts of Business Rules

You can compare the scripts of business rules to see how they are different from each other, to see the changes made, or to see the scripts of graphical business rules.

Note:

You cannot compare more than two business rules at a time. In addition, you cannot compare versions of a business rule. For example, you cannot compare a previous version of a business rule to the version that you just saved.

To compare the scripts of two business rules:

  1. In System View, select two business rules.
  2. Right-click the selected business rules, and then select Compare Script.

    In the Compare Scripts window:

    • If an addition was made to either script, the line is displayed with a light gray background.

    • If a deletion was made from either script, the line is displayed with a dark gray background.

    • If either script was changed, the line is displayed with a yellow background.

    • The first column displays the line number of the script.

    • The second column displays one of three characters:

      • * indicates that the line in the script displayed in the left column is different from the line in the script displayed in the right column.

      • + indicates that a new line was added to the script displayed in the right column when compared to the script displayed in the left column.

      • – indicates that a line was deleted from the script displayed in the right column when compared to the script displayed in the left column.

    • The third and fourth columns display the two scripts.

    • The bottom part of the window is divided into two panes that display the complete lines of the scripts you selected in the top panes. The first pane displays the script in the left column, and the second pane displays the script in the right column.

  3. Click OK when you finish comparing the scripts.