Hello,
I have been experimenting with the for each loop in Drools Flow, but I cannot get it to
work. This is because I don't know how to specify the properties of this node. Could
you please have a look at the attached sample and point me in the right direction on how
to specify these properties? I'm struggling mainly with the properties:
CollectionExpression and Variable Name (marked red in the attached file: screenshot.jpg).
As you can see in the attached file DroolsTest.java my domain model is simple. There are
two entities, Person and Loan. A Person can have zero or more Loans. The for each
construction in the flow file should execute some rule for each Loan belonging to a
Person.
I appreciate your help.
Thanks,
Betto Bardi