Hello Marc,
thanx for your advise, the fireLimit-Option does exactly
what I want. The only thing I had to do was changing from a stateless to a statefull
session.
Especially it is very
interesting for me that a limit bigger 1 is possible. In the first step we only
need a limit of 1, but we are planning to use limits bigger 1 in the future
too:-)
Bye
Mark
Mark Proctor
wrote:
Mescher,Mark wrote:
Hello,
we have realized a project using drools with Decision Tables. We are
working in sequential mode.
Now we have the request for a mechanism to stop the rule execution
after the first rule matches (so no more rules are executed). Is there a
native way to do this with decision tables?
Not
really. You could add an agenda-filter to ignore all activations after the
first one is executed.
Oh sorry there is also the fireLimit
option, see the workingmemory api. So you can specify the max number of rules it
can fire, in your case 1. Let me know if that works for you.
Thx
Mark
_______________________________________________
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users