<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">

<head>
<meta http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<meta name=Generator content="Microsoft Word 12 (filtered medium)">
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]-->
<style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:Wingdings;
        panose-1:5 0 0 0 0 0 0 0 0 0;}
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:Verdana;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:"Lucida Console";
        panose-1:2 11 6 9 4 5 4 2 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
        {mso-style-priority:99;
        mso-style-link:"Balloon Text Char";
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:8.0pt;
        font-family:"Tahoma","sans-serif";}
p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph
        {mso-style-priority:34;
        margin-top:0cm;
        margin-right:0cm;
        margin-bottom:0cm;
        margin-left:36.0pt;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
span.EmailStyle17
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
span.BalloonTextChar
        {mso-style-name:"Balloon Text Char";
        mso-style-priority:99;
        mso-style-link:"Balloon Text";
        font-family:"Tahoma","sans-serif";}
.MsoChpDefault
        {mso-style-type:export-only;}
@page Section1
        {size:612.0pt 792.0pt;
        margin:70.85pt 3.0cm 70.85pt 3.0cm;}
div.Section1
        {page:Section1;}
 /* List Definitions */
 @list l0
        {mso-list-id:327484302;
        mso-list-type:hybrid;
        mso-list-template-ids:533473712 135659521 135659523 135659525 135659521 135659523 135659525 135659521 135659523 135659525;}
@list l0:level1
        {mso-level-number-format:bullet;
        mso-level-text:\F0B7;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-18.0pt;
        font-family:Symbol;}
@list l1
        {mso-list-id:1107887564;
        mso-list-type:hybrid;
        mso-list-template-ids:1086110880 135659521 135659523 135659525 135659521 135659523 135659525 135659521 135659523 135659525;}
@list l1:level1
        {mso-level-number-format:bullet;
        mso-level-text:\F0B7;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-18.0pt;
        font-family:Symbol;}
@list l2
        {mso-list-id:1243180884;
        mso-list-type:hybrid;
        mso-list-template-ids:1987757708 135659521 135659523 135659525 135659521 135659523 135659525 135659521 135659523 135659525;}
@list l2:level1
        {mso-level-number-format:bullet;
        mso-level-text:\F0B7;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-18.0pt;
        font-family:Symbol;}
@list l3
        {mso-list-id:1642346603;
        mso-list-type:hybrid;
        mso-list-template-ids:1341918606 135659521 135659523 135659525 135659521 135659523 135659525 135659521 135659523 135659525;}
@list l3:level1
        {mso-level-number-format:bullet;
        mso-level-text:\F0B7;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-18.0pt;
        font-family:Symbol;}
ol
        {margin-bottom:0cm;}
ul
        {margin-bottom:0cm;}
-->
</style>
<!--[if gte mso 9]><xml>
 <o:shapedefaults v:ext="edit" spidmax="2050" />
</xml><![endif]--><!--[if gte mso 9]><xml>
 <o:shapelayout v:ext="edit">
  <o:idmap v:ext="edit" data="1" />
 </o:shapelayout></xml><![endif]-->
</head>

<body lang=PT link=blue vlink=purple>

<div class=Section1>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>Hi folks!<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>I&#8217;m having some trouble to understand activations.<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>My system receives transactions and I want to detect periods of
time without transactions. If I don&#8217;t have transactions for an hour, I
want to sound an alarm.<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<div style='mso-element:para-border-div;border:none;border-bottom:solid windowtext 1.0pt;
padding:0cm 0cm 1.0pt 0cm'>

<p class=MsoNormal style='border:none;padding:0cm'><span lang=EN-US
style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>I&#8217;ve
wrote the following rules just to see how Drools works (I&#8217;ve tried
sliding windows also but without success):<o:p></o:p></span></p>

</div>

<p class=MsoNormal style='text-autospace:none'><b><span lang=EN-US
style='font-size:10.0pt;font-family:"Lucida Console";color:#960000'>declare</span></b><span
lang=EN-US style='font-size:10.0pt;font-family:"Lucida Console";color:black'>
NoTransactions</span><span lang=EN-US style='font-size:10.0pt;font-family:"Lucida Console"'><o:p></o:p></span></p>

<p class=MsoNormal style='text-autospace:none'><span lang=EN-US
style='font-size:10.0pt;font-family:"Lucida Console";color:black'>      @role(
event )</span><span lang=EN-US style='font-size:10.0pt;font-family:"Lucida Console"'><o:p></o:p></span></p>

<p class=MsoNormal style='text-autospace:none'><span lang=EN-US
style='font-size:10.0pt;font-family:"Lucida Console";color:black'>      timestamp:
</span><b><span lang=EN-US style='font-size:10.0pt;font-family:"Lucida Console";
color:#960000'>long</span></b><span lang=EN-US style='font-size:10.0pt;
font-family:"Lucida Console"'><o:p></o:p></span></p>

<p class=MsoNormal style='text-autospace:none'><b><span lang=EN-US
style='font-size:10.0pt;font-family:"Lucida Console";color:#960000'>end</span></b><span
lang=EN-US style='font-size:10.0pt;font-family:"Lucida Console"'><o:p></o:p></span></p>

<p class=MsoNormal style='text-autospace:none'><b><span lang=EN-US
style='font-size:10.0pt;font-family:"Lucida Console";color:#960000'>declare</span></b><span
lang=EN-US style='font-size:10.0pt;font-family:"Lucida Console";color:black'>
EngineStart</span><span lang=EN-US style='font-size:10.0pt;font-family:"Lucida Console"'><o:p></o:p></span></p>

<p class=MsoNormal style='text-autospace:none'><span lang=EN-US
style='font-size:10.0pt;font-family:"Lucida Console";color:black'>      @role(
event )</span><span lang=EN-US style='font-size:10.0pt;font-family:"Lucida Console"'><o:p></o:p></span></p>

<p class=MsoNormal style='text-autospace:none'><span lang=EN-US
style='font-size:10.0pt;font-family:"Lucida Console";color:black'>      timestamp:
</span><b><span lang=EN-US style='font-size:10.0pt;font-family:"Lucida Console";
color:#960000'>long</span></b><span lang=EN-US style='font-size:10.0pt;
font-family:"Lucida Console"'><o:p></o:p></span></p>

<p class=MsoNormal><b><span lang=EN-US style='font-size:10.0pt;font-family:
"Lucida Console";color:#960000'>end<o:p></o:p></span></b></p>

<p class=MsoNormal style='text-autospace:none'><b><span lang=EN-US
style='font-size:10.0pt;font-family:"Lucida Console";color:#960000'>declare</span></b><span
lang=EN-US style='font-size:10.0pt;font-family:"Lucida Console";color:black'> Transaction</span><span
lang=EN-US style='font-size:10.0pt;font-family:"Lucida Console"'><o:p></o:p></span></p>

<p class=MsoNormal style='text-autospace:none'><span lang=EN-US
style='font-size:10.0pt;font-family:"Lucida Console";color:black'>      @role(
event )</span><span lang=EN-US style='font-size:10.0pt;font-family:"Lucida Console"'><o:p></o:p></span></p>

<p class=MsoNormal style='text-autospace:none'><span lang=EN-US
style='font-size:10.0pt;font-family:"Lucida Console";color:black'>      @expires(
1h )</span><span lang=EN-US style='font-size:10.0pt;font-family:"Lucida Console"'><o:p></o:p></span></p>

<p class=MsoNormal style='text-autospace:none'><b><span lang=EN-US
style='font-size:10.0pt;font-family:"Lucida Console";color:#960000'>end</span></b><span
lang=EN-US style='font-size:10.0pt;font-family:"Lucida Console"'><o:p></o:p></span></p>

<p class=MsoNormal style='text-autospace:none'><b><span lang=EN-US
style='font-size:10.0pt;font-family:"Lucida Console";color:#960000'>rule</span></b><span
lang=EN-US style='font-size:10.0pt;font-family:"Lucida Console";color:black'> </span><span
lang=EN-US style='font-size:10.0pt;font-family:"Lucida Console";color:green'>&quot;***start***&quot;</span><span
lang=EN-US style='font-size:10.0pt;font-family:"Lucida Console"'><o:p></o:p></span></p>

<p class=MsoNormal style='text-autospace:none'><span lang=EN-US
style='font-size:10.0pt;font-family:"Lucida Console";color:black'>      </span><b><span
lang=EN-US style='font-size:10.0pt;font-family:"Lucida Console";color:#960000'>when</span></b><span
lang=EN-US style='font-size:10.0pt;font-family:"Lucida Console"'><o:p></o:p></span></p>

<p class=MsoNormal style='text-autospace:none'><span lang=EN-US
style='font-size:10.0pt;font-family:"Lucida Console";color:black'>            </span><b><span
lang=EN-US style='font-size:10.0pt;font-family:"Lucida Console";color:#960000'>not</span></b><span
lang=EN-US style='font-size:10.0pt;font-family:"Lucida Console";color:black'>(
EngineStart() ) </span><span lang=EN-US style='font-size:10.0pt;font-family:
"Lucida Console"'><o:p></o:p></span></p>

<p class=MsoNormal style='text-autospace:none'><span lang=EN-US
style='font-size:10.0pt;font-family:"Lucida Console";color:black'>      </span><b><span
lang=EN-US style='font-size:10.0pt;font-family:"Lucida Console";color:#960000'>then</span></b><span
lang=EN-US style='font-size:10.0pt;font-family:"Lucida Console"'><o:p></o:p></span></p>

<p class=MsoNormal style='text-autospace:none'><span lang=EN-US
style='font-size:10.0pt;font-family:"Lucida Console";color:black'>            </span><b><span
lang=EN-US style='font-size:10.0pt;font-family:"Lucida Console";color:#960000'>insert</span></b><span
lang=EN-US style='font-size:10.0pt;font-family:"Lucida Console";color:black'>( </span><b><span
lang=EN-US style='font-size:10.0pt;font-family:"Lucida Console";color:#960000'>new</span></b><span
lang=EN-US style='font-size:10.0pt;font-family:"Lucida Console";color:black'>
EngineStart() );<o:p></o:p></span></p>

<p class=MsoNormal style='text-autospace:none'><span lang=EN-US
style='font-size:10.0pt;font-family:"Lucida Console";color:black'>            System.out.println(&#8220;engine
started&#8221;);</span><span lang=EN-US style='font-size:10.0pt;font-family:
"Lucida Console"'><o:p></o:p></span></p>

<p class=MsoNormal style='text-autospace:none'><b><span lang=EN-US
style='font-size:10.0pt;font-family:"Lucida Console";color:#960000'>end</span></b><span
lang=EN-US style='font-size:10.0pt;font-family:"Lucida Console"'><o:p></o:p></span></p>

<p class=MsoNormal style='text-autospace:none'><b><span lang=EN-US
style='font-size:10.0pt;font-family:"Lucida Console";color:#960000'>rule</span></b><span
lang=EN-US style='font-size:10.0pt;font-family:"Lucida Console";color:black'> </span><span
lang=EN-US style='font-size:10.0pt;font-family:"Lucida Console";color:green'>&quot;***notrx_after_start***&quot;</span><span
lang=EN-US style='font-size:10.0pt;font-family:"Lucida Console"'><o:p></o:p></span></p>

<p class=MsoNormal style='text-autospace:none'><span lang=EN-US
style='font-size:10.0pt;font-family:"Lucida Console";color:black'>      </span><b><span
style='font-size:10.0pt;font-family:"Lucida Console";color:#960000'>when</span></b><span
style='font-size:10.0pt;font-family:"Lucida Console"'><o:p></o:p></span></p>

<p class=MsoNormal style='text-autospace:none'><span lang=EN-US
style='font-size:10.0pt;font-family:"Lucida Console";color:black'>            $engineStart
: EngineStart()</span><span lang=EN-US style='font-size:10.0pt;font-family:
"Lucida Console"'><o:p></o:p></span></p>

<p class=MsoNormal style='text-autospace:none'><span lang=EN-US
style='font-size:10.0pt;font-family:"Lucida Console";color:black'>            </span><b><span
lang=EN-US style='font-size:10.0pt;font-family:"Lucida Console";color:#960000'>not</span></b><span
lang=EN-US style='font-size:10.0pt;font-family:"Lucida Console";color:black'>(
NoTransactions() )            </span><span lang=EN-US style='font-size:10.0pt;
font-family:"Lucida Console"'><o:p></o:p></span></p>

<p class=MsoNormal style='text-autospace:none'><span lang=EN-US
style='font-size:10.0pt;font-family:"Lucida Console";color:black'>            </span><b><span
lang=EN-US style='font-size:10.0pt;font-family:"Lucida Console";color:#960000'>not</span></b><span
lang=EN-US style='font-size:10.0pt;font-family:"Lucida Console";color:black'>(Transaction(
</span><b><span lang=EN-US style='font-size:10.0pt;font-family:"Lucida Console";
color:#960000'>this</span></b><span lang=EN-US style='font-size:10.0pt;
font-family:"Lucida Console";color:black'> after [0s, 1h] $engineStart ) )</span><span
lang=EN-US style='font-size:10.0pt;font-family:"Lucida Console"'><o:p></o:p></span></p>

<p class=MsoNormal style='text-autospace:none'><span lang=EN-US
style='font-size:10.0pt;font-family:"Lucida Console";color:black'>      </span><b><span
style='font-size:10.0pt;font-family:"Lucida Console";color:#960000'>then</span></b><span
style='font-size:10.0pt;font-family:"Lucida Console"'><o:p></o:p></span></p>

<p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;
font-family:"Lucida Console";color:black'>            </span><b><span
style='font-size:10.0pt;font-family:"Lucida Console";color:#960000'>insert</span></b><span
style='font-size:10.0pt;font-family:"Lucida Console";color:black'> ( </span><b><span
style='font-size:10.0pt;font-family:"Lucida Console";color:#960000'>new</span></b><span
style='font-size:10.0pt;font-family:"Lucida Console";color:black'>
NoTransactions() );<o:p></o:p></span></p>

<p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;
font-family:"Lucida Console";color:black'>            </span><span lang=EN-US
style='font-size:10.0pt;font-family:"Lucida Console";color:black'>System.out.println(&#8220;no
transactions for an hour since engine started&#8221;);</span><span lang=EN-US
style='font-size:10.0pt;font-family:"Lucida Console"'><o:p></o:p></span></p>

<p class=MsoNormal style='text-autospace:none'><b><span lang=EN-US
style='font-size:10.0pt;font-family:"Lucida Console";color:#960000'>end</span></b><span
lang=EN-US style='font-size:10.0pt;font-family:"Lucida Console"'><o:p></o:p></span></p>

<p class=MsoNormal style='text-autospace:none'><b><span lang=EN-US
style='font-size:10.0pt;font-family:"Lucida Console";color:#960000'>rule</span></b><span
lang=EN-US style='font-size:10.0pt;font-family:"Lucida Console";color:black'> </span><span
lang=EN-US style='font-size:10.0pt;font-family:"Lucida Console";color:green'>&quot;***notrx_after_trx***&quot;</span><span
lang=EN-US style='font-size:10.0pt;font-family:"Lucida Console"'><o:p></o:p></span></p>

<p class=MsoNormal style='text-autospace:none'><span lang=EN-US
style='font-size:10.0pt;font-family:"Lucida Console";color:black'>      </span><b><span
lang=EN-US style='font-size:10.0pt;font-family:"Lucida Console";color:#960000'>when</span></b><span
lang=EN-US style='font-size:10.0pt;font-family:"Lucida Console"'><o:p></o:p></span></p>

<p class=MsoNormal style='text-autospace:none'><span lang=EN-US
style='font-size:10.0pt;font-family:"Lucida Console";color:black'>            EngineStart()</span><span
lang=EN-US style='font-size:10.0pt;font-family:"Lucida Console"'><o:p></o:p></span></p>

<p class=MsoNormal style='text-autospace:none'><span lang=EN-US
style='font-size:10.0pt;font-family:"Lucida Console";color:black'>            </span><b><span
lang=EN-US style='font-size:10.0pt;font-family:"Lucida Console";color:#960000'>not</span></b><span
lang=EN-US style='font-size:10.0pt;font-family:"Lucida Console";color:black'>(
NoTransactions() )</span><span lang=EN-US style='font-size:10.0pt;font-family:
"Lucida Console"'><o:p></o:p></span></p>

<p class=MsoNormal style='text-autospace:none'><span lang=EN-US
style='font-size:10.0pt;font-family:"Lucida Console";color:black'>            $transaction
: Transaction()</span><span lang=EN-US style='font-size:10.0pt;font-family:
"Lucida Console"'><o:p></o:p></span></p>

<p class=MsoNormal style='text-autospace:none'><span lang=EN-US
style='font-size:10.0pt;font-family:"Lucida Console";color:black'>            </span><b><span
style='font-size:10.0pt;font-family:"Lucida Console";color:#960000'>not</span></b><span
style='font-size:10.0pt;font-family:"Lucida Console";color:black'>( Transaction(
</span><b><span style='font-size:10.0pt;font-family:"Lucida Console";
color:#960000'>this</span></b><span style='font-size:10.0pt;font-family:"Lucida Console";
color:black'> != $transaction, </span><b><span style='font-size:10.0pt;
font-family:"Lucida Console";color:#960000'>this</span></b><span
style='font-size:10.0pt;font-family:"Lucida Console";color:black'> after [0s,
1h] $transaction ) )</span><span style='font-size:10.0pt;font-family:"Lucida Console"'><o:p></o:p></span></p>

<p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;
font-family:"Lucida Console";color:black'>      </span><b><span
style='font-size:10.0pt;font-family:"Lucida Console";color:#960000'>then</span></b><span
style='font-size:10.0pt;font-family:"Lucida Console"'><o:p></o:p></span></p>

<p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;
font-family:"Lucida Console";color:black'>            </span><b><span
style='font-size:10.0pt;font-family:"Lucida Console";color:#960000'>insert</span></b><span
style='font-size:10.0pt;font-family:"Lucida Console";color:black'>( </span><b><span
style='font-size:10.0pt;font-family:"Lucida Console";color:#960000'>new</span></b><span
style='font-size:10.0pt;font-family:"Lucida Console";color:black'>
NoTransactions() );</span><span style='font-size:10.0pt;font-family:"Lucida Console"'><o:p></o:p></span></p>

<p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;
font-family:"Lucida Console";color:black'>            </span><span lang=EN-US
style='font-size:10.0pt;font-family:"Lucida Console";color:black'>System.out.println(</span><span
lang=EN-US style='font-size:10.0pt;font-family:"Lucida Console";color:green'>&quot;no
transactions for an hour since last transaction &quot;</span><span lang=EN-US
style='font-size:10.0pt;font-family:"Lucida Console";color:black'>);</span><span
lang=EN-US style='font-size:10.0pt;font-family:"Lucida Console"'><o:p></o:p></span></p>

<div style='mso-element:para-border-div;border:none;border-bottom:solid windowtext 1.0pt;
padding:0cm 0cm 1.0pt 0cm'>

<p class=MsoNormal style='border:none;padding:0cm'><b><span style='font-size:
10.0pt;font-family:"Lucida Console";color:#960000'>End</span></b><span
lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p></o:p></span></p>

</div>

<p class=MsoListParagraph style='text-indent:-18.0pt;mso-list:l1 level1 lfo3'><![if !supportLists]><span
lang=EN-US style='font-size:11.0pt;font-family:Symbol;color:#1F497D'><span
style='mso-list:Ignore'>·<span style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span></span></span><![endif]><span lang=EN-US style='font-size:11.0pt;
font-family:"Calibri","sans-serif";color:#1F497D'>First rule inserts an Event
when rule engine starts<o:p></o:p></span></p>

<p class=MsoListParagraph style='text-indent:-18.0pt;mso-list:l1 level1 lfo3'><![if !supportLists]><span
lang=EN-US style='font-size:11.0pt;font-family:Symbol;color:#1F497D'><span
style='mso-list:Ignore'>·<span style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span></span></span><![endif]><span lang=EN-US style='font-size:11.0pt;
font-family:"Calibri","sans-serif";color:#1F497D'>Second rule detects absence
of transactions since engine started<o:p></o:p></span></p>

<p class=MsoListParagraph style='text-indent:-18.0pt;mso-list:l1 level1 lfo3'><![if !supportLists]><span
lang=EN-US style='font-size:11.0pt;font-family:Symbol;color:#1F497D'><span
style='mso-list:Ignore'>·<span style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span></span></span><![endif]><span lang=EN-US style='font-size:11.0pt;
font-family:"Calibri","sans-serif";color:#1F497D'>Third rule detects absence of
transactions since last transaction<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>The testcase is simple (using pseudoclock):<o:p></o:p></span></p>

<p class=MsoListParagraph style='text-indent:-18.0pt;mso-list:l2 level1 lfo4'><![if !supportLists]><span
lang=EN-US style='font-size:11.0pt;font-family:Symbol;color:#1F497D'><span
style='mso-list:Ignore'>·<span style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span></span></span><![endif]><span lang=EN-US style='font-size:11.0pt;
font-family:"Calibri","sans-serif";color:#1F497D'>00h00m: rule engine start<o:p></o:p></span></p>

<p class=MsoListParagraph style='text-indent:-18.0pt;mso-list:l2 level1 lfo4'><![if !supportLists]><span
lang=EN-US style='font-size:11.0pt;font-family:Symbol;color:#1F497D'><span
style='mso-list:Ignore'>·<span style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span></span></span><![endif]><span lang=EN-US style='font-size:11.0pt;
font-family:"Calibri","sans-serif";color:#1F497D'>00h30m: insert a transaction<o:p></o:p></span></p>

<p class=MsoListParagraph style='text-indent:-18.0pt;mso-list:l2 level1 lfo4'><![if !supportLists]><span
lang=EN-US style='font-size:11.0pt;font-family:Symbol;color:#1F497D'><span
style='mso-list:Ignore'>·<span style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span></span></span><![endif]><span lang=EN-US style='font-size:11.0pt;
font-family:"Calibri","sans-serif";color:#1F497D'>01h01m: notification of
absence of transactions since engine started (not the desired behavior)<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>I&#8217;ve attached the logs and I can&#8217;t understand how an
Activation is cancelled and executed afterwards (without any creation).<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>Thanks for the time spent to read this email! </span><span
lang=EN-US style='font-size:11.0pt;font-family:Wingdings;color:#1F497D'>J</span><span
lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'> <o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<table class=MsoNormalTable border=0 cellspacing=0 cellpadding=0 width="100%"
 style='width:100.0%'>
 <tr>
  <td colspan=2 style='background:#B4CB3D;padding:0cm 0cm 0cm 0cm'>
  <p class=MsoNormal><span style='color:#1F497D'><img width=389 height=6
  id="Picture_x0020_1" src="cid:image001.jpg@01CAF283.017C4780"><o:p></o:p></span></p>
  </td>
 </tr>
 <tr>
  <td style='border:none;border-left:solid black 1.0pt;background:#EBF3CC;
  padding:7.5pt 7.5pt 7.5pt 7.5pt'>
  <p class=MsoNormal><span style='font-size:7.5pt;font-family:"Verdana","sans-serif";
  color:#1F497D'>Vítor Mendonça Moreira<br>
  </span><b><span style='font-size:7.5pt;font-family:"Verdana","sans-serif";
  color:#8A9A37'>Analista / Programador<br>
  Direcção de Investigação e Desenvolvimento</span></b><span style='font-size:
  7.5pt;font-family:"Verdana","sans-serif";color:#1F497D'><br>
  <br>
  Rua Dr. Francisco Sá Carneiro, nº. 4 r/c esq.<br>
  2500 - 206 - Caldas da Rainha<br>
  Tel: (+351) 262 832 196<br>
  Fax: (+351) 262 186 455<br>
  Web: <a href="http://www.makewise.pt">www.makewise.pt</a><br>
  Uma empresa: <a href="http://www.sousapedro.com">Grupo Sousa Pedro</a> <o:p></o:p></span></p>
  </td>
  <td width="1%" style='width:1.0%;background:#EBF3CC;padding:7.5pt 7.5pt 7.5pt 7.5pt'>
  <p class=MsoNormal><span style='color:#1F497D'><img border=0 width=119
  height=60 id="Picture_x0020_2" src="cid:image002.jpg@01CAF283.017C4780"><o:p></o:p></span></p>
  </td>
 </tr>
 <tr style='height:.75pt'>
  <td style='background:#B4CB3D;padding:0cm 0cm 0cm 0cm;height:.75pt'></td>
  <td style='background:#B4CB3D;padding:0cm 0cm 0cm 0cm;height:.75pt'></td>
 </tr>
</table>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p>&nbsp;</o:p></span></p>

</div>

</body>

</html>