Understanding Runtime Prompts

The display and values of runtime prompts are affected by such aspects as:

Principles:

  1. When launched from a data form, the values of members in the Page/POV take precedence if the Use Members on Data Form option is selected, regardless of whether the runtime prompt is hidden during design. The business rule is run without displaying the hidden runtime prompt to users, and the runtime prompt values are taken from the Page/POV members.

    This is not the case when business rules associated with composite data forms are launched on save or from the left-hand pane or when business rules are launched from the Tools, then Business Rules menu. In these cases, the Use Members on Data Form setting is ignored, hidden runtime prompts get design-time values, and the last saved value takes precedence.

  2. If the Use Last Value option is selected for the runtime prompt at design time, and if any of these conditions exist:

    • Use Members on Form is not selected

    • A runtime prompt is launched from the Tools, then Business Rules menu

    • Values cannot be pre-filled from the context

    Then the precedence of runtime prompt values is determined by:

    1. The last saved value takes precedence.

    2. If a ruleset is launched, the value overridden at the ruleset-level at design-time is used.

    3. If a business rule is launched, the value overridden at the rule-level at design-time is used. If it is not overridden at the rule-level, the runtime prompt value at design-time is used.

    Runtime prompts that are hidden at design time never use the last saved value. In these cases, the Use Last Value setting is ignored.

  3. The Use Members on Data Form and Hide Prompt options apply only to Member and Cross Dimension runtime prompt types (Cross Dimension runtime prompt types are available only for business rules created with Calculation Manager).

  4. For Cross Dimension runtime prompts: the runtime prompt is not hidden unless all the prompts in the runtime prompt can be pre-filled from the Page/POV. The runtime prompt is displayed with some values pre-filled from the Page/POV and others filled according to Principles 1 and 2.

This table describes the result on runtime prompts of these settings and conditions:

Table 49.  How Member Availability and Other Settings Affect Runtime Prompts

Availability of member on the Page/POVUse Members on Data Form option is selectedHide Runtime Prompt property is set during runtime prompt design Hide Prompt option is selected for the data formResult on Runtime Prompt
The member is available on the Page/POV to use as the runtime prompt value.YesYes

Yes or No

Setting is ignored

The business rule runs without displaying the runtime prompt to users. Instead, the runtime prompt value is taken from the Page/POV member.
The member is available on the Page/POV to use as the runtime prompt value.YesNoYesIf all runtime prompts can be pre-filled from the Page/POV context and are valid and within limits, the runtime prompts are not displayed. However, if even one runtime prompt value cannot be pre-filled from the Page/POV context, then all runtime prompts display, with values pre-filled wherever possible. All others follow Principle 2.
The member is available on the Page/POV to use as the runtime prompt value.YesNoNoThe runtime prompt is displayed to users, with values pre-filled from the Page/POV.
The member is not available on the Page/POV to use as the runtime prompt value. YesYes

Yes or No

Setting is ignored

The business rule displays the runtime prompt to users, with values pre-filled according to Principle 2.

For example, the data form context cannot be passed because the dimension of the runtime prompt is on rows or columns, so the Hide Prompt setting is ignored and the runtime prompt displayed.

The member is not available on the Page/POV to use as the runtime prompt value.YesNoYesThe runtime prompt is displayed to users, with values pre-filled according to Principle 2.
The member is not available on the Page/POV to use as the runtime prompt value.YesNoNoThe runtime prompt is displayed to users, with values pre-filled according to Principle 2.
The member is available on the Page/POV to use as the runtime prompt value.NoYesNot availableThe business rule runs without displaying the runtime prompt to users. Instead, the design-time values are used.
The member is available on the Page/POV to use as the runtime prompt value. NoNoNot availableThe runtime prompt is displayed to users, with values pre-filled according to Principle 2.
The member is not available on the Page/POV to use as the runtime prompt value.NoYesNot availableThe business rule runs without displaying the runtime prompt to users. Instead, the design-time values are used.
The member is not available on the Page/POV to use as the runtime prompt value.NoNoNot availableThe runtime prompt is displayed to users, with values pre-filled according to Principle 2.

When hidden runtime prompt values are ambiguous, note: