<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.6000.16587" name=GENERATOR></HEAD>
<BODY text=#000000 bgcolor=#ffffff>
<DIV align=left><SPAN class=904075007-01022008><FONT face=Arial color=#0000ff size=2>Hello Marc,</FONT></SPAN></DIV>
<DIV align=left><SPAN class=904075007-01022008><FONT face=Arial color=#0000ff size=2>thanx for your advise, the fireLimit-Option does exactly
what I want. <SPAN class=904075007-01022008><FONT face=Arial color=#0000ff size=2>The only thing I had to do was changing from a stateless to a statefull
session.</FONT></SPAN></FONT></SPAN></DIV>
<DIV align=left><SPAN class=904075007-01022008><FONT face=Arial color=#0000ff size=2><SPAN class=904075007-01022008></SPAN>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:-)</FONT></SPAN></DIV>
<DIV align=left><SPAN class=904075007-01022008><FONT face=Arial color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV align=left><SPAN class=904075007-01022008><FONT face=Arial color=#0000ff size=2>Bye </FONT></SPAN></DIV>
<DIV align=left><SPAN class=904075007-01022008><FONT face=Arial color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV align=left><SPAN class=904075007-01022008><FONT face=Arial color=#0000ff size=2>Mark</FONT></SPAN></DIV>
<DIV align=left><SPAN class=904075007-01022008><FONT face=Arial color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV align=left><SPAN class=904075007-01022008></SPAN><SPAN class=904075007-01022008><FONT face=Arial color=#0000ff size=2> </FONT></SPAN></DIV>
<DIV align=left><SPAN class=904075007-01022008> </SPAN>Mark Proctor
wrote: </DIV>
<BLOCKQUOTE>Mescher,Mark wrote:
<BLOCKQUOTE>
<META content="Microsoft Exchange Server" name=Generator><!-- converted from rtf -->
<STYLE>.EmailQuote {
PADDING-LEFT: 4pt; MARGIN-LEFT: 1pt; BORDER-LEFT: #800000 2px solid
}
</STYLE>
<FONT face="Arial, sans-serif" size=2>
<DIV>Hello,</DIV>
<DIV>we have realized a project using drools with Decision Tables. We are
working in sequential mode.</DIV>
<DIV>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?</DIV></FONT></BLOCKQUOTE>Not
really. You could add an agenda-filter to ignore all activations after the
first one is executed.<BR></BLOCKQUOTE>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.<BR>
<BLOCKQUOTE>
<BLOCKQUOTE><FONT face="Arial, sans-serif" size=2>
<DIV> </DIV>
<DIV>Thx</DIV>
<DIV> </DIV>
<DIV>Mark</DIV>
<DIV> </DIV></FONT><PRE wrap><HR size=4>
_______________________________________________
rules-users mailing list
<A class=moz-txt-link-abbreviated href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</A>
<A class=moz-txt-link-freetext href="https://lists.jboss.org/mailman/listinfo/rules-users">https://lists.jboss.org/mailman/listinfo/rules-users</A>
</PRE></BLOCKQUOTE><BR></BLOCKQUOTE><BR></BODY></HTML>