Returns a value of true if <Collection> contains at least one element. ->notEmpty does not check for attribute values, but instead checks for the existence of elements within a collection. As such, it requires the use of a unique alias to represent the collection being tested.
This sample Rulesheet uses the ->notEmpty function to determine if collection1 has elements. Note the use of unique alias collection1 to represent the collection of Entity2 associated with Entity1.
SAMPLE RULETEST
A sample Ruletest provides two collections. The following illustration shows Input and Output panels