[rules-users] Evaluate rules for multiple facts of the same type within a StateuflSession
Wolfgang Laun
wolfgang.laun at gmail.com
Fri Feb 8 09:24:59 EST 2013
Works for me, and prints both strings.
-W
On 08/02/2013, pdario <dario.piantanida at gmail.com> wrote:
> Damn, I can't!
>
> Simple rule
>
> rule "TEST"
> dialect "mvel"
> when
> s : String()
> then
> System.out.println(s);
> end
>
> Java Test
>
> StatefulKnowledgeSession s = ...
> s.insert("ONE");
> s.insert("TWO");
> s.fireAllRules();
> s.dispose();
>
> Output
>
> TWO
>
> What the...???
>
> Using v5.4.0.Final
>
>
>
> --
> View this message in context:
> http://drools.46999.n3.nabble.com/Evaluate-rules-for-multiple-facts-of-the-same-type-within-a-StateuflSession-tp4022157.html
> Sent from the Drools: User forum mailing list archive at Nabble.com.
> _______________________________________________
> rules-users mailing list
> rules-users at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users
>
More information about the rules-users
mailing list