[rules-users] Is there anything exists in drools rule template for looping of a row in compiled rule template

Soumya.plavaga soumya.bose at plavaga.in
Tue Feb 11 04:59:29 EST 2014


Is there anything exists in drools rule template for looping of a row in
compiled rule template? As example if I have a rule like -

rule "rule 1"

when 
$p: Person(age == @{age})

then

System.out.println("person is eligible");

end

If I want to repeat the line '$p: Person(age == @{age})' in a loop in the
compiled drl, is there any ready made component within drools rule template
to achieve that?



--
View this message in context: http://drools.46999.n3.nabble.com/Is-there-anything-exists-in-drools-rule-template-for-looping-of-a-row-in-compiled-rule-template-tp4028059.html
Sent from the Drools: User forum mailing list archive at Nabble.com.


More information about the rules-users mailing list