Setting Business Rule Properties

You can specify whether business rules associated with forms launch automatically when users load (open) or save the form. If business rules have runtime prompts, you can set whether the default members in the runtime prompt match the members selected in the page and Point of View axes.

To set business rule properties:

  1. Do one of the following:

    • To update the current form, click Actions, and then click Business Rules.

    • To open a form for editing, from the Home page, click Navigator Navigator button, and then under Create and Manage, click Forms. Select the form, click Edit icon, and then click Business Rules.

  2. There are four phases in a form where a rule can be assigned and each may have information relevant to that phase. Under the Business Rules Properties section, select from the following:

    • Run Before Load

    • Run After Load

    • Run Before Save

    • Run After Save

    Note:

    • Run After Load and Run Before Save are enabled only for Groovy rules. You can't select these options for calc scripts or graphical rules.

    • Some actions such as saving the grid, changing the page, or launching an action menu item will also reload the page after the operation completes. This ensures the grid contains the newest data. When this happens, the before and after load actions will run as they do in normal page loads.

    • While hidden runtime prompts are not supported for calc script rules on the before and after load options, they are supported for Groovy rules.

  3. Optional: If a business rule has runtime prompts, select Use Members on Form to match the default member selection on the runtime prompt window to the current members in the page and Point of View axes of the open form.

    To hide runtime prompt values, select Hide Prompt. You can hide runtime prompts if:

    • All runtime prompt member values are filled in (appropriate dimension members can be read from form's Page/Point of View)

    • No dimensions are repeated in the runtime prompt

  4. Click OK.