[rules-users] Fusion: Null pointer exception when using sliding windows

burmanator alexburman at gmail.com
Wed Apr 24 11:25:20 EDT 2013


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-using-sliding-windows-tp4023410p4023499.html
Sent from the Drools: User forum mailing list archive at Nabble.com.


More information about the rules-users mailing list