<br>
<div>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">From:&nbsp;&quot;Roger Tanuatmadja&quot; &lt;<a href="mailto:rogerst@gmail.com">rogerst@gmail.com</a>&gt;<br>To:&nbsp;<a href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a><br>
Date:&nbsp;Mon, 19 May 2008 11:55:19 -0700<br>Subject:&nbsp;Ruleflow-group attribute causing rule to not fire<br>
<div>Hi, </div>
<div>&nbsp;</div>
<div>I am new to both rules engine and Drools. I am currently evaluating Drools 4.0.7 for use in our new project. </div>
<div>Basically I have been writing a bunch of individual rules and things have been fine, the rules that I expected to fire were fired, etc, etc. I then proceeded to investigate rule flows. I started innocently enough i.e. adding the ruleflow-group attribute to some of my rules. I also defined a ruleflow mapping (.rfm). </div>

<div>&nbsp;</div>
<div>I then reran my unit-tests (WITHOUT reading the rules in as rule flows) and some of&nbsp;my rules were no longer firing!!. I added an Agenda Listener to my code and</div>
<div>1. without the ruleflow-group attribute, activations were created, and fired.</div>
<div>2. with the ruleflow-group attribute, activations were created but not fired.</div>
<div>&nbsp;</div>
<div>Using the debugger yielded the same logical outcomes i.e. without the ruleflow-group attribute, my breakpoints were hit, but with the attribute specified, none of my breakpoints were hit. </div>
<div>&nbsp;</div>
<div>My question is: Is this behavior expected? And why? Especially since some other rules (with the attribute specified) continued to work.&nbsp;I&#39;ve read the documentations as much as possible, but I am really new to this field so I might not even know what questions to ask either.</div>

<div>&nbsp;</div>
<div>Any help would be greatly appreciated.</div>
<div>&nbsp;</div>
<div>Thanks,</div>
<div>&nbsp;</div>
<div>Roger</div>
<div>&nbsp;</div>
<div>&nbsp;</div><br></blockquote></div><br>