<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body 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 :)<br>
<br>
<br>
<blockquote
cite="mid:AANLkTikoUteEHEmxzcFTsicZNcX8LDGFjtKJONwCeQHb@mail.gmail.com"
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 moz-do-not-send="true"
href="mailto:tviessmann@stud.hs-bremen.de">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 moz-do-not-send="true"
href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a><br>
<a moz-do-not-send="true"
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 moz-do-not-send="true"
href="http://www.plugtree.com">http://www.plugtree.com</a> <br>
- MyJourney @ <a moz-do-not-send="true"
href="http://salaboy.wordpress.com">http://salaboy.wordpress.com</a><br>
- Co-Founder @ <a moz-do-not-send="true"
href="http://www.jbug.com.ar">http://www.jbug.com.ar</a><br>
<br>
- Salatino "Salaboy" Mauricio -<br>
</div>
<pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
rules-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a>
<a class="moz-txt-link-freetext" href="https://lists.jboss.org/mailman/listinfo/rules-users">https://lists.jboss.org/mailman/listinfo/rules-users</a>
</pre>
</blockquote>
<br>
</body>
</html>