Does anyone know how to write the following rules using Excel?
rule 'load Data'
dialect 'mvel'
salience 7000
when
$data: List ( ) from dataHelper.loadData(parameterMap)
then
insert($data)
end
__
You need to import the function.
for example,
import YourOtherClass
import function Classroom.hasStudent
- Original Message
From: djb
To: rules-users@lists.jboss.org
Sent: Fri, January 8, 2010 8:30:20 AM
Subject: [rules-users] Decision table accessing my own methods
Hi there,
I
classname.
Jane James wrote:
>
> Thanks, I know I can use the static constants, but I'll have to use
> ClassName.CONSTANT_NAME which is a pain, I was wondering if I can do a
> static import, then just refer them as CONSTANT_NAME in my rules.
>
>
>
> - Original Messag
: Tue, December 22, 2009 8:55:54 PM
Subject: Re: [rules-users] import static class?
You can definitely use your static constants in decision table or in drl
files.
Jane James wrote:
>
> Can we do a import static MyClass in drools? I have a class only contains
> some constants that to be
Can we do a import static MyClass in drools? I have a class only contains some
constants that to be referenced in my rules, but I can't import static the
class. I am wondering if this is supported or not.
thanks
___
rules-users mailing list
Hi,
I am trying to use the web guided decision table to create my rules,
however, in the Action section, I couldn't call a static method from a utility
class. The only option I see in the drop down is set field which is not what I
wanted.
Any ideas?
Thanks
_
To make myself clear, here is the difference I copy and paste in a picture.
- Original Message
From: Jane James
To: Rules Users List
Sent: Tue, November 10, 2009 5:30:25 PM
Subject: [rules-users] Guvnor 5.1.0M1 bug?
I downloaded the Guvnor 5.1.0M1 version, but then I found out I
I downloaded the Guvnor 5.1.0M1 version, but then I found out I found out I
can't add more than one condition to it now. there used to be a little bracket
between two conditions but now it's gone. Is it a bug or it's a feature? How am
I supposed to say startDate > 11/11/2009 and start date < 11/
Hi guys,
I have a question regarding the import function feature in Drools 5.1.0M.
I am reading the Drools JBoss Rules 5.0 book Developer's guide by Michal
Bali and tried one of the examples but somehow I couldn't get my rules work
with the method that has varargs.
Here's what I have (
Hi guys,
Sorry for posting this problem here again, but I've been searching up
and down for solutions and the only solution I found online doesn't work for
me.
So my problem is when I tried to integrate drools into my application
which is using jboss 4.05GA, I got the following error
Hi, All,
I have a similar questions to Jame's question.
I have a list of Strings which is wrapped in a class called Names, and
what I want to get is to find all the elements that's equal to
"targetStringname".
How do I create a rule using guided rule editor in Guvnor to create a
11 matches
Mail list logo