[rules-users] Truth maintenance and RHS variables

Wolfgang Laun wolfgang.laun at gmail.com
Wed Feb 8 12:28:46 EST 2012


On 08/02/2012, juankera <juankera at gmail.com> wrote:
> Sorry for the mess, i was trying different things.
>
> 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.
> 6. Rules are fired again
> 7. I can see "yikes¡" in console

This shouldn't happen. The first rule is triggered by the arrival of a
StateEvent,
and unless another one is inserted, it should not fire again - not in
the same session.

Looking at *all* of your code might solve this mystery.

-W



> 8. Nothing happens after that.
>
> I'm a newbie, but i understand that it must fire the second rule
> inmediately.
>
> Do you think that the rule engine is really working with this declared
> fact?? Have i missed anything to register this declared fact?
>
> --
> View this message in context:
> http://drools.46999.n3.nabble.com/rules-users-Truth-maintenance-and-RHS-variables-tp3722632p3726534.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