This rule fires once for every RequestCtx in WM. Therefore, should it fire at all, it will fire (at least) twice for every ID duplication; thrice for every triplication, and so on.<br><br>I&#39;m inclined to think that this sort of problem is best solved with an accumulate CE over all you have in the window. This accumulat should count every RequestCtx according to its ID; then more CEs can analyze the result. <br>
<br>-W<br><br><div class="gmail_quote">On 7 July 2011 14:59, Andre <span dir="ltr">&lt;<a href="mailto:morpheusandre@web.de">morpheusandre@web.de</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
here im again , cause im not really sure i matched the goal i wanted with<br>
this combination:<br>
does it really checks, whether in time window 1m are the same 2 events with<br>
the same name ?<br>
 when<br>
                $actual: RequestCtx()<br>
<br>
                ArrayList( size &gt;= 2 )<br>
              from collect( $expected : RequestCtx(<br>
DroolsUtils.requestsMatchesforSubjectID($expected,$actual,<br>
&quot;urn:oasis:names:tc:xacml:1.0:subject:subject-id&quot;) ) over window:time(1m) <br>
my tests results are looking strange und im would say that theres something<br>
missing , which connects the the LHS parts, to ensure that not the same<br>
event instance will also trigger the second part<br>
<font color="#888888"><br>
--<br>
View this message in context: <a href="http://drools.46999.n3.nabble.com/sliding-window-combination-tp3132340p3148104.html" target="_blank">http://drools.46999.n3.nabble.com/sliding-window-combination-tp3132340p3148104.html</a><br>

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