Home  Administration > Application Administration > Repositories Administration > Business Rules Repository > Specifying the Rule Details



Specifying the Rule Details

In the Rule Details dialog box, you can modify existing detailed information for the rule. You can also modify existing information or enter new information about the rule parameters and the Objective parameters - for more details, see KPI Objectives.

This section includes the following topics:

Specifying the Rule Details

You can specify the rule details.

To specify rule details:

  1. Access the Rule Details dialog box.
  2. Enter the name of the rule as it is to be displayed in the UI in the Display Name box.
  3. Enter the name of the class the rule belongs to in the Class Name box. It includes the Java class that implements the rule, with the full path to the root.
  4. Enter a description of the rule in the Description box.
  5. Select one of the following in the Rule type list - for details, see About Business Rules:
    • Both - so the rule can be applied both to group and monitor
    • Group - so the rule can be applied to a group
    • Monitor - so the rule can be applied to a monitor
  6. Select one of the following in the Relevant result type area - for details, see Saving Measurements Data:
    • Status - so the rule result is displayed as a status indicator
    • Value - so the rule is displayed as a value
  7. Enter the type of unit applicable to the rule results (relevant only when you selected Value in the Relevant result type area, see above for more details) in the Units box - for more details about the available units, see Units of Measurement for Objectives.
  8. In the Rule parameters area, click the New button to enter new parameters or click the relevant Edit button to modify an existing parameter - for details, see Specifying the Rule Parameter Details and Specifying the Rule Objective Parameters.
  9. In the Objective Parameters area, click the New button to enter new objective parameters or click the relevant Edit button to modify an existing parameter - for details, see Specifying the Rule Parameter Details.

Specifying the Rule Parameter Details

In the Parameter Details window, you can either modify existing information or enter new information about the rule's parameters.

To specify the rule parameter details:

  1. In the Rule Details dialog box, in the Rule parameters area, click the New button to enter new parameters or click the relevant Edit button to modify an existing parameter.
  2. Enter or modify the name of the parameter in the Name box. The parameter name is used as a key.
  3. Enter or modify the parameter description in the Description box.
  4. Enter the type of parameter in the Type box. Possible values are: Boolean (can be 0 or 1), Integer, Long, Double (can be a decimal number), or String.
  5. Enter the value to be listed as the default value of the parameter in Dashboard or Service Level Management in the Default value box. Note that for some of the rules, the default values can be: sampleBased or timeBased and indicates if the calculation performed by the rule is based on the sample values or is calculated.
  6. Enter the name of the presentation class in the Presentation class box.

Note: For a list of rule parameters and their default values, see each rule description in Dashboard Business Rules Details.

  1. Click OK to save the new rule details and close the Parameter Details dialog box.
  2. You may now specify the rule's objective parameters if necessary - for details, see Specifying the Rule Objective Parameters.

Specifying the Rule Objective Parameters

When you set the objectives for a specific Business rule in the Repositories tab, they are applicable everywhere the rule is used; they become the default objectives for this rule.

You can then override those defaults for a specific KPI - for details, see KPI Objectives.

The objective parameters are based on a measurement unit that depends on the format of the data handled by the business logic - for details, see KPI Objectives.

To create or edit an objective parameter for a specific rule:

  1. Select Admin > Dashboard or Service Level Management
  2. Click the down arrow  Down arrow in the Repositories tab and select Rules.
  3. Select the appropriate rule and click the Edit button.
  4. You can then:
    • click the New button in the Objective parameters area to open the Parameter Details page
    • click the Edit button for the objective parameter you want to modify to open the Parameter Details page
  5. Enter the parameter details - for details, see Specifying the Rule Parameter Details.
  6. If you created a new rule, you must now attach the rule to the appropriate KPI - for details, see Dependent KPIs. If you cloned or overrode an existing rule, the rule is already attached to the appropriate KPI.



Copyright 2006 Mercury Interactive Corporation