Folks,
Using 4.0.GA
I need to have the following logical chain:
Having facts F1(), F2(), F3(), F4()
I need a rule to be fired when (F1() and F2()) or (F3() and F4()) condition is true, so made a rule:
when
(or
(and F1()
F2() )
(and F3()
F4() ) )
then
…
But it doesn’t execute correctly. F.e. it fires when F1() and F4() are inserted although F2() and F4() are not!
Please advice is it my incorrect syntax, or a bug….?
Thanks,
-Sergey