Hi sir , <br><br>I am facing one issue regarding and( , ) and OR( || ) condition<br><br>i have one rule like that <br><br>dialect "java"<br>rule "mytest1"<br>when<br>test ( ( i==1,j==2) || (i == 2 ,j==3) )<br>
then<br>System.out.println("Found");<br>end<br><br>it gives excpetion [ERR 102] Line 24:22 mismatched input ',' expecting 'then' in rule "mytest1"<br><br> can we not do such type of combination ? <br>
<br><br> <br>
<br>
dialect "java"<br>
rule "mytest1"<br>
when<br>test (( i==1 || j==2) ,(i == 2 || j==3))<br>
then<br>
System.out.println("Found");<br>
end<br><br>this gives no excpetion and works as expected .<br><br><br><br><br><br>Regards ,<br><br>Saurabh Maheshwari<br><br><br><br>