You can use it without time.. but each time that you have an EventA and not an EventB the will be activated<br><br><div class="gmail_quote">2010/10/22 Tina Vießmann <span dir="ltr"><<a href="mailto:tviessmann@stud.hs-bremen.de">tviessmann@stud.hs-bremen.de</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div bgcolor="#ffffff" text="#000000">
Yeah, normally I would solve it that way. But you're using a time
(1d) which I unfortunately don't know off in my scenario. <br>
<br>
I'm afraid that there will be no other solution than that I have to
use a time...<br>
<br>
Thanks anyway :)<div><div></div><div class="h5"><br>
<br>
<br>
<blockquote type="cite">Sounds that you can use the Not Conditional Element
for that right?
<div>something like</div>
<div><br>
</div>
<div>$a: EventA()</div>
<div>not EventB(this after[1d] $a)</div>
<div><br>
</div>
<div><br>
<br>
<div class="gmail_quote">
On Fri, Oct 22, 2010 at 5:49 PM, Tina Vießmann <span dir="ltr"><<a href="mailto:tviessmann@stud.hs-bremen.de" target="_blank">tviessmann@stud.hs-bremen.de</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204, 204, 204);padding-left:1ex">
Hi,<br>
<br>
I'm working on a use case where I want to know if 20 events
with a<br>
specific value are contained in at maximum the last 150
events. So far I<br>
know what have to do. ;-)<br>
My problem is that as extension to my condition, the rule
shall also<br>
trigger if one ore more events are missing. But I don't know
the time<br>
interval with which the events arrive, so that I don't know
when a new<br>
event should arrive and by implication I don't know about
the absence of<br>
an event.<br>
<br>
In our environment events arrive in "counts" and not in a
specific time<br>
interval as e.g. ever 1 second. So we talk about the last
two or 150<br>
counts if we talk about the last two ore 150 data packages
received.<br>
Yes, behind a count always is a time interval, but only the
data source<br>
knows about the time interval. My recipient doesn't<br>
Also the data of a data package is inserted in the working
memory<br>
independently, so that I have e.g. 10 data events instead of
a single<br>
package event.<br>
(Now that you know that, my first sentence would be
correctly: I want to<br>
know if 20 counts of the max. last 150 counts have contained
a specific<br>
event.)<br>
<br>
If my explanation (or my attempt to explain) is difficult to
understand,<br>
please ask me what you want to know.<br>
<br>
I would be very happy about any ideas.<br>
<br>
Thank you.<br>
Tina<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>
</blockquote>
</div>
<br>
<br clear="all">
<br>
-- <br>
- CTO @ <a href="http://www.plugtree.com" target="_blank">http://www.plugtree.com</a> <br>
- MyJourney @ <a href="http://salaboy.wordpress.com" target="_blank">http://salaboy.wordpress.com</a><br>
- Co-Founder @ <a href="http://www.jbug.com.ar" target="_blank">http://www.jbug.com.ar</a><br>
<br>
- Salatino "Salaboy" Mauricio -<br>
</div>
<pre><fieldset></fieldset>
_______________________________________________
rules-users mailing list
<a href="mailto:rules-users@lists.jboss.org" target="_blank">rules-users@lists.jboss.org</a>
<a href="https://lists.jboss.org/mailman/listinfo/rules-users" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a>
</pre>
</blockquote>
<br>
</div></div></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><br clear="all"><br>-- <br> - CTO @ <a href="http://www.plugtree.com">http://www.plugtree.com</a> <br> - MyJourney @ <a href="http://salaboy.wordpress.com">http://salaboy.wordpress.com</a><br>
- Co-Founder @ <a href="http://www.jbug.com.ar">http://www.jbug.com.ar</a><br> <br> - Salatino "Salaboy" Mauricio -<br>