Oracle® Rules Palette Release 9.1.0.0.0 E15811-01

# AGGREGATEFUNCTION

## Description

AGGREGATEFUNCTION is used to perform a function on an already created array. You may either summarize the data in an array or retrieve a specific value from an array. The array must have already been defined prior to configuring a MathVariable of type AGGREGATEFUNCTION.

## AGGREGATEFUNCTION Element/Attribute Table

Element | Attribute | Attribute Value | Element Value | Result
<MathVariable> | TYPE | AGGREGATEFUNCTION | The name of a previously defined array. |
| METHOD | COUNT |  | The sum of the number of items in the named array

## XML Example

<MathVariable VARIABLENAME="SegmentCount" TYPE="AGGREGATEFUNCTION" METHOD="COUNT" DATATYPE="INTEGER">Segments</MathVariable>