I am curious if anyone else has run into this problem.It seems like there
is something wrong in the Drools LogicMy issue can be very easily be
recreated in about 5 minutes
>From eclipse I set up a new drools project.Where DroolTest.java is
defined I create 4 new classes, ClassA,
That's a lot to expect from a clean API. The RuleBase has Packages, not
Rules. Methods concerning rules are found in the Package class.
It's easy enough to roll your own. perhaps something like
public ListgetRuleNames( RuleBase rulebase )
{
List ruleNamess = new ArrayList();
for( Package pkg : r
Is there a command to list all the rules by name in a rule base?
Cheers,
Blair Christie
___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users
Hi All,
When i ran the sample Insurance Example outside of Eclipse with Tomcat
v6.0.It worked fine but when i am trying to run the same inside the eclipse
and deployed in Eclipse configured tomcat then iam getting the following
error :
RuleAgent(insuranceconfig) WARNING (Thu Mar 06 12:18:45 PST 2
I am probably still misunderstanding, but it seems that the effective
and expires dates are constants that can be used in the left hand side
of the rules:
rule "Commission Calculation 07-08"
when
$agent: Agent( promotedDate >= "01-Apr-2007",
Please, read my e-mail about the dynamic rules fixes in 4.0.x branch.
[]s
Edson
2008/3/6, Héron Nicolas <[EMAIL PROTECTED]>:
>
> Hello,
> I am using drools 4.0.4 on a loyalty system and we have problems removing
> rules at run-time.
> In fact, it removes the rule (it says) but the effec
I mentioned that in a few e-mails already, but since some people missed,
I decided to send an specific e-mail for that.
We made a focused effort in the last few weeks to add test cases and fix
a few bugs related to dynamic rules (adding/removing rules at runtime) and
also related to serializ
Hi
I have numerous .drl files that contain around 100 rules, in 5 packages.
Please tell me what can be an optimsed solution so that my application
performance is not made to suffer?
I should load all the drl files in and form a Rule Base. After this
depending on my application logic I go on pickin
Mehak wrote:
Hi
Similarly can we set the focus on a particular agenda in stateless session.
Like for statefull session, to fire the rules belonging to a given agenda,
the code is :
workingMemory.setFocus("agenda group name");
The drools variable is available and you can get the working memo