Specify a Dynamic Default

It is possible for controls to have a dynamic default value, that is, a default value that is derived from the value of another attribute. During an interview, the default value for the control will be set to the value of the attribute that it is based on if it is known, or it will default to the user specified static value if the dynamic default value is unknown or uncertain.

In Latest Version Interviews, a dynamic default can be updated live by evaluating a rule that uses data on the same screen.

To specify a dynamic default value for an input:

  1. In Policy Modeling on the Interview tab, select the input in the screen list or screen layout view.
  2. Click the Default value button.
  3. In the drop-down window, select the default value in the drop-down list for the Dynamic Default field. Note: A dynamic default attribute may be in the global entity or in the same entity as the control it is attached to.

    Dynamic default defined in Default Value drop down window on the Interview tab in Oracle Policy Modeling

    The input in the screen layout view is updated to indicate that there is a dynamic default specified.

    Input in screen layout view showing default value for dynamic default

Note that:

  • a dynamic default for a read-only control will display the actual value of the attribute when the screen is loaded.

  • any navigation from a screen (including using the back button) will cause all the valid values in the current session to be submitted into the session. This means that an input with a dynamically defaulted value will have its value set in the session and consequently no default for that control will take effect from that point onwards because the attribute already has a value.

Tip: Dynamic defaults are demonstrated in the DMV Document Guide and Healthy Eating example policy models that are installed with Policy Modeling.