Hi, I'm getting problem while executing rule with or condition.
My rule is like

<b>MyEvent () from entry-point MyStream
Number($objCountForOne : doubleValue) from accumulate( MyEvent(prop1 == "One") over window:time(1m) from entry-point MyStream,count())
eval($objCountForOne > getMyNodeCount()*0.35)

or 

MyEvent () from entry-point MyStream
Number( $objCountForTwo : doubleValue) from accumulate( MyEvent(prop1 == "Two"), count())
eval($objCountForTwo >= getMyConnectionCount()*0.40)</b>

The above rule both conditions run well when executed separately but when I merge them using or they don't work well. When I inserted the event for 1st condition it does not gets executed because the last eval line in 2nd condition i.e. "eval($objCountForTwo >= getMyConnectionCount()*0.40)" is false.

Now I have to run them like if conditions in java i.e. if(1st == true || 2nd == true) then do my work.
Please let me know how can I solve it?
Thanks in advance.

<br><hr align="left" width="300">
View this message in context: <a href="http://drools-java-rules-engine.46999.n3.nabble.com/Problem-with-or-condition-tp2326849p2326849.html">Problem with or condition</a><br>
Sent from the <a href="http://drools-java-rules-engine.46999.n3.nabble.com/Drools-User-f47000.html">Drools - User mailing list archive</a> at Nabble.com.<br>