You must separate constraints with a comma:<br>MyEvent(id == &quot;Backlogged &quot;        ,         source == “SDCS1Site1”)<br><br>Do not surround a simple pattern with parentheses:<br> MyEvent(id == &quot;83020402&quot;)<br>
<br>It should be possible to write your rule according to:<br>(P(...)<br>   or<br> P(...)<br>   or<br> P(...))<br>P(...)<br>P(...)<br><br>-W<br><br><br><div class="gmail_quote">On 25 January 2011 12:21, Ayush <span dir="ltr">&lt;<a href="mailto:ayush.vatsyayan@alcatel-lucent.com">ayush.vatsyayan@alcatel-lucent.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br>
Hi, Thanks for your reply.<br>
Actually it is lot more complex. Let me present it this way<br>
<br>
            (<br>
             (MyEvent(id == &quot;83020402&quot;))<br>
             or<br>
             MyEvent()<br>
             (Number( doubleValue &gt;= $numberofISGCDBnodes*.50 )<br>
             from accumulate( MyEvent( id == 83020401),count()))<br>
             or<br>
             (MyEvent(id == &quot;83030407&quot;))<br>
             )<br>
             and<br>
            (MyEvent(id == &quot;Backlogged &quot; source == “SDCS1Site1”))<br>
            and<br>
            (MyEvent(id == &quot;MonitorDataUnavailable&quot;  source == “SDCS1Site1”<br>
))<br>
            and<br>
            (MyEvent(id == &quot;Backlogged &quot; source == “SDCS1”))<br>
            and<br>
            (MyEvent(id == &quot;DataUnavailable&quot;  source == “SDCS2” ))<br>
            and<br>
            (MyEvent(id == &quot;RepoFail &quot; ))<br>
            and<br>
            (MyEvent(id == &quot;apiRepoFail&quot; ))<br>
<font color="#888888">--<br>
View this message in context: <a href="http://drools-java-rules-engine.46999.n3.nabble.com/Implementing-multiple-and-or-conditions-tp2328123p2328268.html" target="_blank">http://drools-java-rules-engine.46999.n3.nabble.com/Implementing-multiple-and-or-conditions-tp2328123p2328268.html</a><br>

Sent from the Drools - User mailing list archive at Nabble.com.<br>
<br>
_______________________________________________<br>
rules-users mailing list<br>
<a href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/rules-users" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a><br>
</font></blockquote></div><br>