Hi,
Can you tell me how window:time(..) function is used in drools guided editor?
I have situation where Collection of objects will be there in entry-point. And if one of the objects matches certain criteria and other other objects match certain criteria, then I have to take do something.
In otherwords, Is it possible to specify "when condition" in guided editor using collection of objects for a given time window from entry-point?
Example condition,
when
remTxnData : REMTxnData(transactionType == "P2P") -- Current object inserted into session remTxnDataLoad : REMTxnData(remTxnData.accountNumber == accountNumber, transactionType == "CC_LOAD") over window:time(1m) from entry-point TransactionStream then --------
end
Thanks
Baskaran S
|