Hi guys,
I was experimenting with Drools fusion (last version) and I have a small
question :
What is the difference between the following (down the page) two rules :
(note the "and" between the patterns) , i.e : how one can understand the
"and" , is it a logical or temporal conjunction ? and finally what is
the implied "relation" between pattern as in rule "b" ? I think it is
an
"and" , but using drools fusion to detect 2 stocks having a temporal
relation (using the after op.) , I found different results when
explicitly using "and" between the patterns and not using it.
One final question , what is the default event policy in fusion ? I can
not find any docu about that.
Thank you for your time -k
rule "a"
when
--pattern1
and
--pattern2
then
--action
end
rule "b"
when
--pattern1
--pattern2
then
--action
end