definitions part
The definitions part introduces local variables that you can use in the rest of the rule.
- definitions
This construct introduces the part of the rule where you define variables. - set '(variable)' to (definition)
This construct defines a variable as an object, a collection, or a value. - all (objects)
The all <objects> construct introduces a collection of objects. - in (list)
This construct accesses data from object collections that are related to known objects. - from (object)
This construct accesses data from objects that are related to known objects. - the number of (objects)
This construct returns the number of objects in the current data set or in the specified collection. - where (test)
The where <test> construct matches objects against tests.
Parent topic: Business rule language