[rules-users] Accumulate function, events and stream processing

juankera juankera at gmail.com
Tue Jan 31 04:20:12 EST 2012


Thanks for your help.

This sentence is working properly (i've tried it out of this rule) and
count(1) doesn't give me anything.

when
	Number( $total : doubleValue ) from accumulate(
        StateEvent(itemName=="Temperatura", $val : newState) over
window:length( 5 ),
        count ( 1 ))
then

Always returning 0.0, with every fact i put in the working memory.

Any idea?



--
View this message in context: http://drools.46999.n3.nabble.com/rules-users-Accumulate-function-events-and-stream-processing-tp3700577p3702702.html
Sent from the Drools: User forum mailing list archive at Nabble.com.



More information about the rules-users mailing list