Hi sir ,

I am facing one issue regarding  and( , )  and OR( || ) condition

i have one rule like that

dialect "java"
rule "mytest1"
when
test ( ( i==1,j==2) || (i == 2 ,j==3) )
then
System.out.println("Found");
end

it gives excpetion [ERR 102] Line 24:22 mismatched input ',' expecting 'then' in rule "mytest1"

 can we not do such type of combination ? 




dialect "java"
rule "mytest1"
when
test (( i==1 || j==2) ,(i == 2 || j==3))
then
System.out.println("Found");
end

this gives no excpetion and works as expected .





Regards ,

Saurabh Maheshwari