Using Parameters as a Business Rule

Note:

Using parameters as a business rule applies only to Oracle Hyperion Financial Management.

Use the Parameters tab in the Rule Designer to specify the parameters to use for a business rule. Oracle Hyperion Calculation Manager determines whether any execution variables are used in the rule. (Execution variables can have the scope of ruleset or rule.) Any execution variables used in the business rule are listed on the grid in the Parameters tab.

In the grid, in the Parameters column, the check box is selected for any execution variables with a Ruleset scope by default. These execution variables are passed as parameters. The check box for execution variables with a Rule scope is clear by default, because these variables apply only to the business rule in which they are used. These execution variables are not passed as parameters. You can change the default setting for any variables listed in the grid.

In the Passing Method column, the default setting is By Reference, but you can select to pass parameters By Value.

Note:

The variables displayed in the Parameters tab are generated automatically. If you make changes to any of these variables in the Variable Designer by adding, deleting, or changing the scope of the variable, any changes that affect the business rule only display when you select the Parameters tab of the rule again.

To use parameters as a business rule:

  1. Create or open a business rule in the Rule Designer.
  2. In Properties, ensure that Is Function is selected so that the rule is treated as a function that can include execution variables specified as parameters.

    Parameter passing is available for any business rule, regardless of whether Is Function is selected. If it is not selected, then it is a normal business rule with parameter passing capability. If it is selected, then the business rule is treated as a function.

  3. Save the business rule.
  4. Open a second business rule.
  5. From Existing Objects, drag a copy of the first business rule into the second business rule's flow chart.
  6. In the Parameters tab, enter values for the parameters to be used as a business rule.
  7. Click Save button.