Search code examples
rulesdroolsmvel

Drools rule iterate collections and verify property


With Drools Rules "mvel" how to iterate over a collection and verify a property for each object in the collection?


Solution

  • Look for the forall keyword in the reference manual (follow documentation on the drools page).