I tried using not Foo(Name == $name, this before $primary) however the
desired final implementation of code would be looking for multiple matching
fields more along the lines of:
rule test
when
$primary : Foo($name : Name, $data : Data) over window:length(24)
not Foo(Name == $name, Data == $data, this before $primary)
then
System.out.println("Found name: " + $name);
end
and because of this, if either Name or Data didn't match, the whole
statement would undesirably trigger as true.
--
View this message in context:
http://drools.46999.n3.nabble.com/Fusion-Null-pointer-exception-when-usin...
Sent from the Drools: User forum mailing list archive at
Nabble.com.