Sums the values of the specified <attribute> for all elements in <Collection>. <attribute> must be a numeric data type. <Collection> must be expressed as a unique alias.
This Rulesheet uses the ->sum function to add all decimal1 attributes within collection1. Note the use of unique alias collection1 to represent the collection of Entity2 associated with Entity1
SAMPLE TEST
A sample Ruletest provides 3 elements in collection1. Input and Output panels are shown below.