Well, we'll have to look at the code, all of it.
-W
On 8 February 2012 18:36, juankera <juankera(a)gmail.com> wrote:
Sorry... big mistake. I forgot to mention that i'm inserting one
StateEvent
after each rules firing.
So, these are the correct steps:
1. I'm working with stateful session (no clocks, entry-points or events for
now).
2. I insert one StateEvent fact into working memory
3. Rules are fired.
4. I can see "yikes¡" in console
5. Nothing happens after that.
2. I insert one new StateEvent fact into working memory (from code)
6. Rules are fired again
7. I can see "yikes¡" in console
8. Nothing happens after that.
Anyway, my code is as simple as that:
(..)
ksession.insert((RuleEvent) new StateEvent(item, state));
ksession.fireAllRules();
ksession.insert((RuleEvent) new StateEvent(item, state));
ksession.fireAllRules();
(...)
--
View this message in context:
http://drools.46999.n3.nabble.com/rules-users-Truth-maintenance-and-RHS-v...
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