[rules-users] Implementing multiple 'and' 'or' conditions

Ayush ayush.vatsyayan at alcatel-lucent.com
Tue Jan 25 06:21:53 EST 2011


Hi, Thanks for your reply.
Actually it is lot more complex. Let me present it this way

            (
             (MyEvent(id == "83020402")) 
             or 
             MyEvent()
             (Number( doubleValue >= $numberofISGCDBnodes*.50 ) 
             from accumulate( MyEvent( id == 83020401),count())) 
             or
             (MyEvent(id == "83030407"))
             ) 
             and  
            (MyEvent(id == "Backlogged " source == “SDCS1Site1”)) 
            and 
            (MyEvent(id == "MonitorDataUnavailable"  source == “SDCS1Site1”
)) 
            and
            (MyEvent(id == "Backlogged " source == “SDCS1”)) 
            and 
            (MyEvent(id == "DataUnavailable"  source == “SDCS2” )) 
            and
            (MyEvent(id == "RepoFail " )) 
            and
            (MyEvent(id == "apiRepoFail" ))  
-- 
View this message in context: http://drools-java-rules-engine.46999.n3.nabble.com/Implementing-multiple-and-or-conditions-tp2328123p2328268.html
Sent from the Drools - User mailing list archive at Nabble.com.




More information about the rules-users mailing list