Hi,
I am using drool IDE 3.0.6 on eclipse and saw bunch of errors on Eclipse
Problem/ validator. The .drl file compiled and worked fine. But eclipse
validators might not like the drl syntax and throw errors. Here are some
errors:
- The import (class) cannot be resolved
- (declaration) cannot be
I can't seem to upload a model into the BRMS. I also tried downloading
and uploading the model in the insurance example and it failed. (I tried
both the .war on tomcat 6.0.13 and the standalone version on tomcat
5.5.20).
Can somebody help?
Thanks,
Mat
_
Actions in RuleFlow are interpreted at runtime using MVEL. This error seems to
indicate that there is a problem in the syntax of your MVEL expression.
However, looking at your example, I do not see any problem,
System.out.println("Your text here"); as action property should work (I just
teste
Hi Vincent,
Thanks for your answer but I would really like to use my synthax.
I need to write "or" between 2 constraints and not in a single
complex constraint.
If someone else could help me ...
DELBART Vincent <[EMAIL PROTECTED]> a écrit :
Hello Stephane,
I think it's difficult to d
Using BRMS, I created a rule binary package and downloaded it and am
trying to access it but I'm getting a NullPointerException. My code
looks like this -
public void main(Policy inputPolicy) throws Exception
{
RuleBase ruleBase = loadRuleBase();
StatefulSession session = ruleBase.newS
I've created the following rule in BRMS and deployed it -
rule "Underwriting Rule 1"
dialect "mvel"
when
p : Policy( premium < "50.00" )
then
p.setStatus( 32 );
end
I have the following code processing the rule -
public void main(Policy inputPolicy) throw
Yes,
This is a bug in the DSL engine. May I ask you please to open a JIRA?
Thank you,
Edson
2007/9/11, pentarious <[EMAIL PROTECTED]>:
>
>
> Hi,
> I'm using the following DSL:
> [when]There are at least {N} objects in the domain=Number(intValue>={N})
> from accumulate ( i : Object
Inside eval() you must use code in the chosen semantic dialect (either
Java or MVEL). None of them have "not in" operator that is a DRL syntax
sugar.
So, you need to either properly write Java or MVEL code inside the eval,
or use a regular DRL constraint.
In this specific case, if you
Hi,
I'm using the following DSL:
[when]There are at least {N} objects in the domain=Number(intValue>={N})
from accumulate ( i : Object(), count( i ) )
[when]- category is {Category}=category== "{Category}"
Using the above DSL from Drools BRMS leads to the following result (rule
source code):
Numb
Hi All,
I am using drool4.0.1 in my application,
I have one map in global memory this map contains mapping of id and value,i
want to validate these values.
but when i am using in and not in rule like:
eval(validatorMap.get("name") not in("amit","siddhartha"))
where validatorMap is a map of i
Hello Stephane,
I think it's difficult to do that. Could you try this :
There is a Cheese with
- age is less than 42 or age is more than 60
- type is 'stilton'
with in your DSL
[condition][]There is a Cheese with=Cheese()
[condition][]- age is less than {low} or age is more than {
Hello,
I'm using JBossDrools in my company and I have some problems with
DSL.
Actually, I would like to write something like this : There is a Cheese with
( - age is less than 42 or - age is more than 60 )
- type is 'stilton' Unfortunately, It's the drools parser
which m
12 matches
Mail list logo