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
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.
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
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
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");
> 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
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
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
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
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.
__
10 matches
Mail list logo