<div dir="ltr">i found this type of declaration in a site and thought this is allowed..<div>also it doesnt throw any compilation error and works the same way as declared like this:</div><div><br></div><div>accumulate( $e :Event (name == &quot;new file added&quot;) <b>over window : time(1m)</b>, count($e)<br>
</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Mar 17, 2014 at 4:23 PM, Wolfgang Laun <span dir="ltr">&lt;<a href="mailto:wolfgang.laun@gmail.com" target="_blank">wolfgang.laun@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="">On 17/03/2014, Sandhya Sree &lt;<a href="mailto:sandhyachinnaraj@gmail.com">sandhyachinnaraj@gmail.com</a>&gt; wrote:<br>

<br>
&gt; declare window Ticks<br>
&gt;     Event()<br>
&gt;         over window:time(1m )<br>
&gt; end<br>
<br>
</div>Is there any documentation snippet that says you can declare a fact<br>
(not even an event) like this, restricting its existence?<br>
<br>
If not, why does this not cause an compilation error?<br>
<br>
-W<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>
</blockquote></div><br></div>