Thanks Alex. Your suggestion worked.
Prem
Alexander Claus wrote:
package com.sample
import org.domain.CreditCard;
rule "Credit Eligibility"
no-loop true
when
cc : CreditCard( age > 18, annualIncome > 5, asset> 50 )
then
cc.setEligibilityStatus( "Eligible for cred
Can you verify that you are not running a compiled version of the old
rules (perhaps by adding System.out.println("New version"); to the LHS
in the new rules)?
Keith Bennett wrote:
Does anyone have any idea why drools.getRule().getName() inside of the
rule consequence would be returning the ol
Hi,
I am currently having an error "RuleBaseTask failed: Unable to load
dialect
'org.drools.rule.builder.dialect.mvel.MVELDialectConfiguration:mvel'"
while trying to build drl to pkg using Ant from a DroolsTest that was
created by default in eclipse when one select new->other->Drools->Rules
Ron Kneusel wrote:
Greetings!
I read through the manual, but it is a little too terse regarding when one
might choose Stateless versus Stateful sessions. My initial testing has been
with Stateful sessions and these work nicely but memory use explodes as the
number of facts added increases mu
Greetings!
I read through the manual, but it is a little too terse regarding when one
might choose Stateless versus Stateful sessions. My initial testing has been
with Stateful sessions and these work nicely but memory use explodes as the
number of facts added increases much beyond 100.
So,
Does anyone have any idea why drools.getRule().getName() inside of the
rule consequence would be returning the old business rule name? I
renamed the business rule, and I am seeing through testing that the
old name is being resolved by Drools at runtime, not the new one.
What the heck is going on?
Also, I get these below errors, which seems to indicate that something is
very wrong with rule parser. Like it cannot parse anything because of the
expander?
[25] Unable to expand: Strategy strategy = new
Strategy(drools.getRule().getName(), 1,
[26] Unable to expand: new
I have a very simple DSL snippet:
PPositionQuantityAllocatedToLegs {position} {rulePriority}=
Integer(intValue < {position}.quantity) from accumulate(
StrategyLeg(priority > {rulePriority}, instrument == {position}.instrument,
longShort == {position}.longShort, legQuantity : quantity)
legsQu
Thanks for the tip, Mark. I did what you suggested, and got the
necessary libraries added to the project build configuration.
I can run the HelloWorldExample, and there are no compile errors for
any of the .java project files. However, there are still lots of
errors reported for the .drl files. Wh
Hi!
I have a problem using the drools Eclipse plugin 4.0.7 (with Drools 4.0.7).
In our project rules are located in different folders. One of it is called
"global" (containing many functions, imports, ...) whereon most of the rules in
the other folders depend. The package name is identical.
Run
Greetings!
I'm using Drools 4 and have a simple test setup with 4 rules. If I run with a
few facts (simple objects that hold a type and a floating point value only)
everything works as advertised. If I bump the number of facts up to 100 it
runs most of the time without changing the defaults
package com.sample
import org.domain.CreditCard;
rule "Credit Eligibility"
no-loop true
when
cc : CreditCard( age > 18, annualIncome > 5, asset> 50 )
then
cc.setEligibilityStatus( "Eligible for credit card" );
System.out.println("Valid Credit Score ");
it seems an incorrect .project was committed, it's easy to fix. Just
remove anything from the project dependencies and then right click and
select "convert to drools"
Should do the job.
Mark
Stephen Schaub wrote:
I am new to Drools.
I downloaded the drools-4.0.7 examples from
http://downloa
I am new to Drools.
I downloaded the drools-4.0.7 examples from
http://download.jboss.org/drools/release/4.0.7.19894.GA/drools-4.0.7-examples.zip
I have Eclipse 3.3 with the GEF dependency, and installed the Drools
plugins. I then imported the drools examples into a clean Eclipse
workspace. I'm
Hi,
I tried creating/compiling/executing the following rule using the drools
eclipse workbench:
package com.sample
import org.domain.CreditCard;
rule "Credit Eligibility"
no-loop true
when
cc : CreditCard( age > 18, annualIncome > 5, asset> 50 )
then
cc.setEli
Hi all,
I'm using Drools 4.0.7.
I use the Drools api in my application with the rule Agent as describe
in the section 9.4.4.1 of the documentation and it works fine.
Since our application is running under weblogic 8.1, we must use JBoss
for BRMS because weblogic 8.1 is not java5 compliant, b
Hi Edson,
I can't understand validate Rules with Lookup Tables...
conditon is like,
=
value_lookup_type_code should be a valid lookup type
==
In this case value_lookup_type_code column is empployee table and lookuptype
is another table.
In lookuptype table diff col
17 matches
Mail list logo