[rules-users] Drools Flow: Skipping some LHS evaluations at time of insert

Mauricio Salatino salaboy at gmail.com
Wed Apr 7 17:18:30 EDT 2010


you can insert a control object in the first rule that it's activated and
fired and add another restriction to the rest of the rules, using that
control object.

Greetings

On Wed, Apr 7, 2010 at 5:06 PM, madchen <k.cheung at accenture.com> wrote:

>
> Hi,
>
> According to my understanding of Drools Flow, when you insert an object
> into
> drools, it tries to match it against all the existing rules and every rule,
> for which the 'When' clause conditions are met, becomes activated.
>
> I was wondering if it was possible, that when an object is inserted into
> drools, drools stops trying to match that object against the rules once the
> first rule is activated. Or in other words, drools would go through the
> list
> of rules comparing the object with the 'When' clause conditions and then
> when it finds a rule that matches, it stops going through the rest of the
> rules for that object.
>
> Thanks!
> Kevin
> --
> View this message in context:
> http://n3.nabble.com/Drools-Flow-Skipping-some-LHS-evaluations-at-time-of-insert-tp704324p704324.html
> Sent from the Drools - User mailing list archive at Nabble.com.
> _______________________________________________
> rules-users mailing list
> rules-users at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users
>



-- 
- http://salaboy.wordpress.com
- http://www.jbug.com.ar
- Salatino "Salaboy" Mauricio -
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20100407/fd9535f7/attachment.html 


More information about the rules-users mailing list