Validating Business Rules, Business Rulesets, and Formula and Script Components from the System View

Validate business rules, rulesets, formula and script components to make sure they are syntactically correct before you deploy them to an application.

The validation process ensures that:

  • All dimension members are valid for the dimension within the application.

  • All functions exist, have the correct number of parameters, and are valid for the application type.

  • All variable references in business rules are valid. For replacement variables, the variables are replaced with the correct strings first and then validated. For execution variables, the validation process ensures the variables are defined for the application, the applications within an application type, the plan type, and/or the business rule.

  • There are no syntactic errors in the script generation.

If you are validating business rules that have runtime prompts with default values, the validation process ensures that all members in the runtime prompt are valid for the selected plan type and application and that there are no syntactic or semantic errors. If you are validating business rules that have runtime prompts without default values, no validation is performed.

Note:

If you do not validate rules and rulesets prior to deployment, the deployment may be successful, but the rules and rulesets may fail to launch.

To validate a business rule, a ruleset, or a formula or script component:

  1. Do one of these tasks:
    • To validate a ruleset, expand Rulesets.

      Note:

      For Planning applications, there is only one Rulesets node for each application at the same level as the plan types and databases.

    • To validate a rule, formula, script, or template, expand the calculation type, plan type, or the database, and Rules, Formulas, Scripts, or Templates, depending on the object you want to validate.

  2. Do one of these tasks:
    • Right-click the object you want to validate, and select Validate.

    • Select the object you want to validate, and select Actions, Validate.

  3. Do one of these tasks:
    1. If the object is validated successfully, click OK.
    2. If there are errors, they are displayed. Fix the errors and validate the object again.