CollectionValue

Oracle Insurance Rules Palette

You are here: Configuration > Configuration Panes > Math Pane > CollectionValue

 

CollectionValue

The CollectionValue math variable is used to retrieve a value from a collection based on its key. A math variable statement of type CollectionValue returns the value associated to a given key. The Collection math variable must be defined/created prior to using CollectionValue.

 

CollectionValue Math Variable in the Rules Palette

CollectionValue Math Variable in Palette

 

Note: For a comprehensive explanation of the characteristics of this math variable, refer to the XML Configuration Guide in the Help menu.

 

Define the CollectionValue Math Variable

Drag and drop the CollectionValue math variable from the Palette window onto the Math Pane. Enter the following information for the math variable. 

  • Type a name in the Name field. This is required. 

  • The applicable data type selection is defined as: Boolean, Date, Decimal, Integer, or Text. This is required. 

  • Make sure variable type is defined as CollectionValue. This is required. 

  • Select Yes or No from Log field. Default is No. If Yes is selected, the number of decimal places is enabled. The radio button values are disabled unless you select the data type Decimal. This is an optional field.  

  • The value of the math variable is the math variable name of the previously defined Collection math variable.

  • The Key is the literal name of the key of the value in the Collection. KeyField is a math variable or field that holds the value of the key of the value in the Collection.

  • Type in a Default value for an Integer or Date data type. For example, an Integer default value could be -999999999. Required so the system does not return a null value.

 

Check-in the transaction to save the information to the database.

 

Copyright © 2009, 2014, Oracle and/or its affiliates. All rights reserved. Legal Notices