[rules-users] Rules firing during insert ?

Wolfgang Laun wolfgang.laun at gmail.com
Thu Dec 15 11:18:29 EST 2011


On 15/12/2011, freejava <freejava3 at gmail.com> wrote:
>
> When I insert the object in the Statefulsession the rules are getting
> evaluated. Is this the correct behaviour ?
>
> I was under the impression that rules are evaluated only when you call
> fireAllRules() on the session.

Is there any material or documentation that created this false impression?
If so, please do tell - it should be corrected.

Note that the "evaluation of a rule" should be avoided. It is the condition
or left hand side that is evaluated, and the consequence or right hand side
that's executed.

-W

>
> Any help would be appreciated.
>
> --
> View this message in context:
> http://drools.46999.n3.nabble.com/Rules-firing-during-insert-tp3589050p3589050.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