You'll have to use a single, dedicated fact and call modify/update before
each fireAllrules.
For your other problem: updating all facts is probably the best solution.
(You may, of course,
also add a pattern with a single "trigger" fact, again to be updated before
each call to
fireAllRules.)
As you have experienced, "fired" activations remain passive across multiple
calls to
fireAllRules.
-W
On 3 August 2010 18:00, Maverickthe6 <Maverickthe6(a)web.de> wrote:
Hmm,
even that doesn't work. Do you test it by yourself?
I just created a new project, with the standard hello world example. And
add
the rule to the Sample.drl file. After that, I add another
ksession.fireAllRules() to the main and execute it. The only messages I've
got are:
TEST
Hello World
Goodbye cruel world
and not (how expected)
TEST
Hello World
Goodbye cruel world
TEST
--
View this message in context:
http://drools-java-rules-engine.46999.n3.nabble.com/fireAllRules-multiply...
Sent from the Drools - User mailing list archive at
Nabble.com.
_______________________________________________
rules-users mailing list
rules-users(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users