There is no way of telling how the A, B, C of your data relates to the rule. Nothing there suggests that rules 1, 2, 3 select A, B, C, respectively. <br><br>-W<br><br><div class="gmail_quote">On 22 July 2011 14:41, 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;">i want to  accumulate on different properties of my event.<br>
i have 3 rules which all work in the same manner , accumulate on that event<br>
and then work with that result<br>
my rules are all like this<br>
<br>
rule &quot;Request counting Subject By Id&quot;<br>
when<br>
    $set: Set()<br>
            from accumulate($neu : RequestCtx() over<br>
window:time(1m),countMatchingSubjectIdsInRequest($neu) )<br>
    java.util.Map.Entry( $id: key, $count: value &gt; 1 ) from $set<br>
then<br>
    channels[&quot;AuthZBlocking&quot;].send(new ItemCacheEntry(new Item((String)$id),<br>
new Date(System.currentTimeMillis()+ 20000)));<br>
end<br>
<br>
these rules should work concurrently, depending on the propterties.<br>
<br>
to test this i wrote...<br>
<br>
let us assume:<br>
Rule1 looks for A.A and if |A.A&gt;1| fire<br>
Rule2 looks for A.B and if |A.B&gt;1| fire<br>
Rule3 looks for A.C and if |A.C&gt;1| fire<br>
i inserted<br>
A.A<br>
A.A<br>
A.B<br>
A.B<br>
A.C<br>
A.C<br>
and instead of firing 1,2,3<br>
the engine fires : 1,1,2,1,1,2,1,2<br>
<br>
Do i have to influence the agenda , when working on the same eventtype ??<br>
<font color="#888888"><br>
<br>
--<br>
View this message in context: <a href="http://drools.46999.n3.nabble.com/evaluating-different-aspects-of-the-same-event-tp3191232p3191232.html" target="_blank">http://drools.46999.n3.nabble.com/evaluating-different-aspects-of-the-same-event-tp3191232p3191232.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>