Hi,<br><br>I&#39;d like to write a rule that contains an OR condition in
the LHS, to match the presence in the working memory of an object with
particular values of a specific field.&nbsp; In the rest of LHS, i need to
bind other values of the specific object matched. Is there a particular
sintax to use for the binding?
<br><br>For example:<br><br>rule &quot;orCondition&quot;<br>&nbsp;&nbsp;&nbsp; when<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; myObj : (MyObject(field1 == &quot;a&quot;) or MyObject(field1 == &quot;b&quot;))&nbsp;&nbsp;&nbsp; //correct column <br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; field2: myObj.getField2

()&nbsp;&nbsp;&nbsp; // how to correctly get <br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; field3: myObj.getField3()&nbsp;&nbsp;&nbsp; // those values?<br>&nbsp;&nbsp;&nbsp; then<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; System.out.println(&quot;fields = &quot;+ field2 + field3);<br><br>Thanks in advance, FC.