<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;"><DIV>Hi,</DIV>
<DIV> </DIV>
<DIV> Can you tell me how window:time(..) function is used in drools guided editor?</DIV>
<DIV> 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> </DIV>
<DIV> In otherwords, Is it possible to specify "when condition" in guided editor using collection of objects for a given time window from entry-point?</DIV>
<DIV> </DIV>
<DIV>Example condition,</DIV>
<DIV> </DIV>
<DIV> when<BR> remTxnData : REMTxnData(transactionType == "P2P") -- Current object inserted into session<BR> remTxnDataLoad : REMTxnData(remTxnData.accountNumber == accountNumber, transactionType == "CC_LOAD") over window:time(1m) from entry-point TransactionStream <BR> then</DIV>
<DIV> --------</DIV>
<DIV> end</DIV>
<DIV>Thanks</DIV>
<DIV>Baskaran S</DIV>
<DIV> </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>.