Re: [rules-users] Event wait constraint syntax

2009-06-05 Thread Kris Verlaenen
Ajay, Rule constraints can only reason on data in the working memory. In general there are two strategies for handling your problem then: 1) The variable you want to access (in this case the request) is also inserted in the working memory. That way you could write something like: $r: Request

[rules-users] performance issue in planning and scheduling application

2009-06-05 Thread Co Nijn
Hi, I’m interested in the application of Drools in the planning and scheduling domain. In a planning application a planner can take planning decisions and the system will determine all consequences of the planning decision automatically and provides immediate visual feedback of these consequences.

Re: [rules-users] "Discouraged access" warnings when using Drools Eclipse Workbench

2009-06-05 Thread Kris Verlaenen
Andre, In Drools5 we introduced a new module called drools-api which contains all the stable interfaces we want to expose to the end user. People who are using the new Drools5 API are encouraged to use only the public API and not cast to internal implementation classes as they might change over t

Re: [rules-users] Timer does not return!

2009-06-05 Thread Kris Verlaenen
It's difficult to figure out what's going on without looking at the process itself, but your code seems to be fine. If you run the engine in reactive mode (using fireUntilHalt), it should automatically fire the action associated with the timer once it goes off. Note that, if you are not running i

[rules-users] "Discouraged access" warnings when using Drools Eclipse Workbench

2009-06-05 Thread Andre Santos
Hello, I have a little piece of code I wrote to evaluate a simple fact type. The code is basically this: RuleAgent agent = RuleAgent.newRuleAgent("/test-config.properties"); RuleBase rb = agent.getRuleBase(); FactType testFact = rb.getFactType("testPackage.testFact");

Re: [rules-users] Possible bug in Drools Flow: Globals declared at EventWait node are not persisted to the rf file.

2009-06-05 Thread Kris Verlaenen
> PS: Is this the corrent list for rules flow users? Is rules flow an > active project? Yes, you've come to the right place ;) > This might be a bug: > Globals declared Constraints for an Event Wait node don't show up in > the headers section of the rf file. The problem appears to be that, if you

[rules-users] Possible bug in Drools Flow: Globals declared at EventWait node are not persisted to the rf file.

2009-06-05 Thread Ajay.Gautam
PS: Is this the corrent list for rules flow users? Is rules flow an active project? This might be a bug: Globals declared Constraints for an Event Wait node don't show up in the headers section of the rf file. Using Drools runtime 5.0.0 with Eclipse 3.4.1 on Win XP. Steps: 1. Create a new rul

Re: [rules-users] Problem with modify sentence

2009-06-05 Thread Luis Silva
Hi Kevin, What is the error that you are getting? On Fri, Jun 5, 2009 at 2:47 AM, Kevin Alonso wrote: > Hi all, > > I get a compilation error in a "then" part of the rule with the next > sentence: > > modify ( rules ) { allowedGuesses -= 1 } > > This problem has appeared after update from 5.0 C

[rules-users] Comments Requested: Ideas on storing Drools Knowledge: The argument for JIRA as a knowledge store as well

2009-06-05 Thread Premkumar Stephen
Hello all, As a new user to Drools, I have been frustrated often and unable to find much information. Below is an IM session where a couple of us discuss what is missing and how we can fix it? A lot of knowledge imparted in the IRC channels does not get recorded. I believe it is the same with the

[rules-users] Problem with modify sentence

2009-06-05 Thread Kevin Alonso
Hi all, I get a compilation error in a "then" part of the rule with the next sentence: modify ( rules ) { allowedGuesses -= 1 } This problem has appeared after update from 5.0 CR1 to Drools 5.0 final version. Is it a bug? Thank you, Kevin. __