Hi,
I have rule like this
rule Update Id
dialect mvel
salience 10
no-loop true
when
$add:Address(name==india)
then
$add.setId(100);
update($add)
end
am getting the error org.drools.FactException: Update error: handle not found
for object
and Address mailto:[EMAIL
I am having the same problem. Has anyone got this working?
I have tried using mvel version 1.2.8 and 1.2.10 in the classpath of
drools-insurance ( where the jUnit tests are ) and by both the
serialVersionUID is different. So can anyone tell me which version of
mvel is needed to get this
hi,
I have a class Customer.java with class variable allTradeAmounts and
I have two rules as follows:
rule rule 1
when
$c : Customer();
then
$c.setAllTradeAmounts($c.getAllTradeAmounts().add(1000));
System.out.println(after modify:
Hi Matija,
Drools ant doesn't support xls files yet, just brl, xml, rfm and dslr, could
you please open a ticket in jira and point that to me?
regards
On 11/23/07, Matija [EMAIL PROTECTED] wrote:
Hi, does the drools-ant task know how to compile (.xls) decision
tables, or does it only compile
Sikkandar Nawabjan wrote:
Hi,
I have rule like this
rule Update Id
dialect mvel
salience 10
no-loop true
when
$add:Address(name==india)
then
$add.setId(100);
update($add)
end
That should work, its a fairly trivial use case, so I'm very surprised
it doesn't If you
Mehdi wrote:
hi,
I have a class Customer.java with class variable allTradeAmounts and
I have two rules as follows:
rule rule 1
when
$c : Customer();
then
$c.setAllTradeAmounts($c.getAllTradeAmounts().add(1000));
System.out.println(after modify:
We are thinking of extending the java dialect with a modify command that
works like the mvel one; this would negate the need to use a separate
modify statement. Just a matter of getting time to do it :(
Mark
ekke wrote:
mehdi,
the rules engine has to know that your fact changed,
you can use
Hi,
How do I compare attributes of two different objects. E.g;
Object1.getEffectiveDate() Object2.getCompletionDate()
In drools 3.0. I am using DSL.
Thanks,
Saleem
___
rules-users mailing list
rules-users@lists.jboss.org
Use Eval
-Krishnan
Saleem Lakhani wrote:
Hi,
How do I compare attributes of two different objects. E.g;
Object1.getEffectiveDate() Object2.getCompletionDate()
In drools 3.0. I am using DSL.
Thanks,
Saleem
Saleem Lakhani wrote:
Hi,
How do I compare attributes of two different objects. E.g;
Object1.getEffectiveDate() Object2.getCompletionDate()
Object1( $ed : effectiveDate)
Object2( completionDate effectiveDate)
Then just replace those two patterns with a dsl mapping.
In
Hi Len.
Yes the main challenges I see are to do with the sheer numbers of rules you
see yourself happening, and how to manage that in any sort of BRMS. ie are
there 100's of packages, or a few uber packages etc. How do you break it up
so its manageable? etc... even simple things, like if there is
Hi,
This exception is not throwing very often. Occasionally i got this
FactException . Is it because of another rule/Fact? i have the following rule
also
rule check created error
dialect mvel
salience 10
no-loop true
when
$add:Address(continent==asia)
then
retract(
12 matches
Mail list logo