skip to main content
Corticon Studio: Rule Language Guide : Rule operator details and examples : Minimum value (Collection)
 

Try Corticon Now

Minimum value (Collection)

SYNTAX

<Collection.attribute> -> min

DESCRIPTION

Returns the lowest 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 ->min to identify the lowest 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.