<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;"><DIV>Hi,</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;&nbsp;&nbsp; Can you tell me how window:time(..) function is used in drools guided editor?</DIV>
<DIV>&nbsp;&nbsp;&nbsp; I have situation where Collection of objects will be there in <STRONG><EM>entry-point</EM></STRONG>. And if one of the objects matches certain criteria and other other objects match certain criteria, then I have to take do something.</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp; In otherwords, Is it possible to specify "when condition" in&nbsp;guided editor using collection of objects for a given time window from entry-point?</DIV>
<DIV>&nbsp;</DIV>
<DIV>Example condition,</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp; when<BR>&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;remTxnData : REMTxnData(transactionType == "P2P")&nbsp;&nbsp;&nbsp; -- Current object inserted into session<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;remTxnDataLoad : REMTxnData(remTxnData.accountNumber == accountNumber,&nbsp;&nbsp; transactionType == "CC_LOAD") over window:time(1m) from entry-point TransactionStream&nbsp;<BR>&nbsp; then</DIV>
<DIV>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; --------</DIV>
<DIV>&nbsp; end</DIV>
<DIV>Thanks</DIV>
<DIV>Baskaran S</DIV>
<DIV>&nbsp;</DIV></td></tr></table><br>



      <!--1--><hr size=1></hr> 
The INTERNET now has a personality. YOURS! <a href="http://in.rd.yahoo.com/tagline_yyi_1/*http://in.yahoo.com/" target="_blank">See your Yahoo! Homepage</a>.