Analyzing the Script of a Business Rule

You can run a graphical business rule or a script business rule and analyze its script.

To analyze the script of a business rule:

  1. In System View, right-click a business rule, and then select Open.
  2. With the rule displayed, select Actions, and then Analyze Script.

    This runs the business rule.

  3. If the business rule contains runtime prompt variables, in the Enter RTP Values dialog box, enter runtime prompt values, then specify whether to apply the values to the business rule, and then click OK.
  4. In the Script Analysis tab, analyze the script.

    If a line in the script has analysis information, Analysis Information icon is displayed next to the line. Select a line to review its analysis information in the Analysis Information area on the right of the screen. If there is no analysis information for a line, "Analysis information is not available" is displayed. The line that has the longest execution time is highlighted in red.

    The Properties area displays information about the business rule, such as its name, application, plan type, and the length of time (in milliseconds) that it took to analyze the script.

  5. When you finish reviewing script information, click Close button to close the Script Analysis tab.