[rules-users] Rules firing during insert ?

Michael Anstis michael.anstis at gmail.com
Thu Dec 15 11:03:40 EST 2011


That is correct.

Rules LHS is evaluated as rules are inserted.

Calling fireAllRules() causes the activations on the agenda (caused by
evaluation of the LHS) to be executed.

On 15 December 2011 16:00, freejava <freejava3 at gmail.com> wrote:

> Hello,
>
> 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.
>
> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20111215/daaebd74/attachment.html 


More information about the rules-users mailing list