See below.
On 11/02/2014, Soumya.plavaga <soumya.bose(a)plavaga.in> wrote:
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?
No there isn't, but what would you achieve with a repetition of
$p: Person(age == @{age})
anyway? It's syntactically incorrect.
-W
--
View this message in context:
http://drools.46999.n3.nabble.com/Is-there-anything-exists-in-drools-rule...
Sent from the Drools: User forum mailing list archive at
Nabble.com.
_______________________________________________
rules-users mailing list
rules-users(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users