[rules-users] Event processing/Drools Fusion: problem using "this after" and "@expires"

2011-11-04 Thread diana-mendes
Hello, I'm implementing a simple event processing application, and I'm getting unexpected results. I use the time operator "this after" and I declare one of my events with an "@expires" property. I want to detect an event with a certain attribute (let's call it "main event"), and when this event

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 rules-users@lists.jboss.

[rules-users] Time Window

2011-10-31 Thread diana-mendes
Hello, I want to implement a simple scenario using Drools, but I can't find the right functions to do so. I have a class named Notif that represents my events. When I receive a Notif with a certain attribute (for example, type == "A") I want to get a list of all the events I receive in the next

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 $las

[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 getSpecifi