<div>here is my eclipse project  with source and rule files.  I modified test rules/class that gets created with a new drools project in eclipse.  I hope the .zip file  comes through</div>
<div> </div>
<div><br><br> </div>
<div class="gmail_quote">2009/12/3 Edson Tirelli <span dir="ltr">&lt;<a href="mailto:ed.tirelli@gmail.com">ed.tirelli@gmail.com</a>&gt;</span><br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid"><br>   Are you running your application in STREAM mode or CLOUD mode? Delaying &quot;not&quot; is a feature of the STREAM mode. If you are already running in STREAM mode, can you give me an isolated test that I can check?<br>
<br>   Thanks<br><br>   Edson<br><br>
<div class="gmail_quote">2009/12/3 chris richmond <span dir="ltr">&lt;<a href="http://richmond.cd/" target="_blank">richmond.cd</a>@<a href="http://gmail.com/" target="_blank">gmail.com</a>&gt;</span><br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0pt 0pt 0pt 0.8ex; BORDER-LEFT: rgb(204,204,204) 1px solid">
<div>
<div></div>
<div class="h5">
<div>Hello,</div>
<div> </div>
<div>I have this test rule that basically fires if a followup reading is not received with the appropriate value within some time.  According to the fusion docs, simply using:</div>
<div> </div>
<div><b><font color="#960000">not</font></b><font size="2">( FollowUpReading(value == $val, </font><b><font color="#960000" size="2"><font color="#960000" size="2">this</font></font></b><font size="2"> before[0s,5s] $reading ) )</font></div>

<div> </div>
<div>should wait 5 seconds before firing, however this does not work unless I explicitly also set:</div>
<div> </div>
<div><b><font color="#960000">duration</font></b><font size="2">( 5s )</font></div>
<div> </div>
<div>and if I do that, it seems to wait the 5 seconds, however it always follows what I put in the duration value and seems to compeltely ignore the time tolerances I use here.:</div>
<div> </div>
<div>$reading : DatarReading($val: value) 
<p align="left"><b><font color="#960000" size="2"><font color="#960000" size="2">not</font></font></b><font size="2">( FollowUpReading(value == $val, </font><b><font color="#960000" size="2"><font color="#960000" size="2">this</font></font></b><font size="2"> before[0s,5s] $reading ) )</font></p>
</div>
<div>And if I have different values, it will fire the rule after 2 seconds and ignore the 5s in the sample below.</div>
<div> </div>
<div>Any ideas?</div>
<div><b><font color="#960000" size="2"><font color="#960000" size="2">
<p align="left">rule</p></font></font></b><font size="2"></font><font color="#008000" size="2"><font color="#008000" size="2">&quot;my rule&quot;</font></font><font size="2"> 
<p align="left"></p></font><b><font color="#960000" size="2"><font color="#960000" size="2">duration</font></font></b><font size="2">( 2s ) 
<p align="left"></p></font><b><font color="#960000" size="2"><font color="#960000" size="2">when</font></font></b><font size="2"> 
<p align="left">$reading : DatarReading($val: value)</p>
<p align="left"></p></font><b><font color="#960000" size="2"><font color="#960000" size="2">not</font></font></b><font size="2">( FollowUpReading(value == $val, </font><b><font color="#960000" size="2"><font color="#960000" size="2">this</font></font></b><font size="2"> before[0s,5s] $reading ) ) 
<p align="left"></p></font><b><font color="#960000" size="2"><font color="#960000" size="2">then</font></font></b><font size="2"> 
<p align="left">System.err.println(</p></font><font color="#008000" size="2"><font color="#008000" size="2">&quot;did not receive follow up - reading value: &quot;</font></font><font size="2"> + $val); 
<p align="left"></p></font><b><font color="#960000" size="2"><font color="#960000" size="2">
<p>end</p>
<p> </p>
<p> </p></font></font></b></div><br></div></div>_______________________________________________<br>rules-users mailing list<br><a href="mailto:rules-users@lists.jboss.org" target="_blank">rules-users@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/rules-users" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a><br><br></blockquote></div><font color="#888888"><br><br clear="all"><br>-- <br> Edson Tirelli<br>
 JBoss Drools Core Development<br> JBoss by Red Hat @ <a href="http://www.jboss.com/" target="_blank">www.jboss.com</a><br></font><br>_______________________________________________<br>rules-users mailing list<br><a href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/rules-users" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a><br><br></blockquote></div><br>