It's true Kris Verlaenen.
But the first set is strange, isn't it?
thanks,
Vincent
--
View this message in context:
http://www.nabble.com/Ruleflow-and-persistence-tf4415033.html#a12608948
Sent from the drools - user mailing list archive at Nabble.com.
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
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 id and
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):
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
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) throws
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 do
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
tested
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