Corticon Studio: Rule Language Guide
:
Rule operator details and examples
:
Maximum value (Collection)
Try Corticon Now
Maximum value (Collection)
SYNTAX
<Collection.attribute>
-> max
DESCRIPTION
Returns the highest value of
<attribute>
for all elements in
<Collection>
.
<attribute>
must be a numeric data type.
<Collection>
must be expressed as a unique alias.
USAGE RESTRICTIONS
The Operators row of the table in
Summary Table of Vocabulary Usage Restriction
applies. No special exceptions.
RULESHEET EXAMPLE
The following Rulesheet uses
->max
to identify the highest value of
decimal1
in all elements of
collection1
, then assign it to
Entity1.decimal1
.
SAMPLE RULETEST
A sample collection contains five elements, each with a value of
decimal1
.