I created JBRULES-2881 and noted the possibility of it being related to 2862 (where there is a comment from you, Edson, which seems to fit).<br><br>-W<br><br><br><div class="gmail_quote">2011/1/30 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="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div><br></div>   This must be a bug. It should match only the latest event of each type. Would you please open a JIRA specifically with your description of the problem and let me know?<div>
<br></div><div>   Thanks,</div><div>
       Edson</div><div><br><div class="gmail_quote">2011/1/29 OlliSee <span dir="ltr">&lt;<a href="mailto:o.roess@seeburger.de" target="_blank">o.roess@seeburger.de</a>&gt;</span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="im">
<br>
Hey again everyone,<br>
<br>
I seem to be having another problem.<br>
<br>
When I have a rule like that<br>
<br></div><div class="im">
when<br>
        A() over window:length(1)<br>
        B() over window:length(1)<br>
then<br>
        ...<br>
<br></div><div><div></div><div class="h5">
I imagine now having two windows of length 1. One always keeping the latest<br>
A event and one always keeping the latest B event. And I expect them to<br>
update themselves once a new event comes in.<br>
<br>
But if I have events coming in like this...<br>
<br>
A1, A2, B1<br>
<br>
The rule fires for (A2, B1)<br>
<br>
then another event B2 is coming in and it fires for (A2,B2)<br>
So far so good.<br>
<br>
Then another event A3 is coming in and the rule fires for (A3,B2) and<br>
(A3,B1).<br>
Why? Shouldn&#39;t the B window only have B2 inside since it arrived and thus<br>
fire only for (A3,B2)?<br>
<br>
I have already been searching for this problem, found this<br>
<a href="http://drools-java-rules-engine.46999.n3.nabble.com/DROOLS-problem-with-sliding-windows-td2039892.html" target="_blank">http://drools-java-rules-engine.46999.n3.nabble.com/DROOLS-problem-with-sliding-windows-td2039892.html</a><br>


but I&#39;m not sure if this is the same problem as mine.<br>
<br>
Helping me understand this is highly appreciated, since I thought I had<br>
completely understood the window behaviour.<br>
<br>
Thanks in advance.<br>
Kind regards<br>
Oliver<br>
<font color="#888888">--<br>
View this message in context: <a href="http://drools-java-rules-engine.46999.n3.nabble.com/Sliding-window-of-length-1-equals-latest-event-tp2370162p2370162.html" target="_blank">http://drools-java-rules-engine.46999.n3.nabble.com/Sliding-window-of-length-1-equals-latest-event-tp2370162p2370162.html</a><br>


Sent from the Drools - User mailing list archive at Nabble.com.<br>
_______________________________________________<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>
</font></div></div></blockquote></div><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>
</div>
<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>