Re: [rules-users] Sliding Length Windows

2011-10-31 Thread diana-mendes
Hello, Thank you for your response, I understand how the sliding window works now. However, when I use the code you wrote I get the following error: Exception in thread main java.lang.RuntimeException: Unable to resolve ObjectType 'List' : [Rule name='Rule2'] Unable to Analyse Expression

Re: [rules-users] Sliding Length Windows

2011-10-31 Thread Edson Tirelli
import java.util.List Edson 2011/10/31 diana-mendes diana-men...@hotmail.com Hello, Thank you for your response, I understand how the sliding window works now. However, when I use the code you wrote I get the following error: Exception in thread main java.lang.RuntimeException:

Re: [rules-users] Sliding Length Windows

2011-10-31 Thread diana-mendes
Thank you! Diana -- View this message in context: http://drools.46999.n3.nabble.com/Sliding-Length-Windows-tp3438408p3468583.html Sent from the Drools: User forum mailing list archive at Nabble.com. ___ rules-users mailing list

Re: [rules-users] Sliding Length Windows

2011-10-21 Thread Edson Tirelli
Hi Diana, This happens because the order in which things happen. Up to Drools 5.3, Drools apply first filters (a.k.a., alpha constraints or literal constraints), then the sliding windows, then the joins. So in your case, Notif( specificProblem == New ONT ) over window:length(2)

[rules-users] Sliding Length Windows

2011-10-20 Thread diana-mendes
Hello, I'm having trouble using sliding length windows. Either I'm implementing them wrong or I have misunderstood how they're supposed to work. I have a class named Notif: *public class Notif implements Serializable{ ... private String specificProblem; ... public String