Hi Brody,
I have had similar situation several times, and each time I had to modify my
objects to avoid this, and it was really tedious.
I'd also would like to know whether it is possible to have a "real solution"
in this case without needing to change the base objects, but rather use the
rule la
Hi all,
I've just updated to drools 5.0CR1.
Before I had this kind of expression:
ksession.executeIterable(objects) with objects ist a list containing
different kind of objects
and this worked perfectly.
after updating, I use the forementioned execute(Iterable obj) on the same
list of objects,
Hi all,
I'd like to define some DSL sentences using Guvnor. Then using the
DSL-Editor from eclipse, I create the following mappings (for consequence):
1.
[CONSEQUENCE]Following "{time}" regulation "{regname}" is violated=String
day = "{time}"; String regulation = "{regname}"; ViolatedRegulation
Hi...
I'm trying to use KnowledgeAgent in my application; I already saw he
examples in the docs..but somehow I'm still not sure whether I've used it
correctly.
The case is that I implement a STATELESS session bean, which provides the
method that makes use of rule engine.
private KnowledgeBase kb
rools-core
5.0.0.M4
And I can see that mvel2-2.0.4 has been added, besides drools-api and core
5.0.0.M4
Thanks for the reply
Edson Tirelli-3 wrote:
>
> What MVEL version are you using?
>
> []s
> Edson
>
> 2009/1/1
Hallo,
I have a rule like this, defined in Guvnor:
when
Activity ( $date : date, workingTime > 240)
then
System.out.println("Working time limit has been reached");
violatedRegulation.add(new String("regulation.general.working1"));
violatedRegulation is a List which I set as a
Hi all,
I'm having problem getting the KnowledgeAgent and Guvnor working
correctly...
On the console I got this reports:
12:35:05,265 INFO [STDOUT] [2009:01:13 12:01:265:info]
ResourceChangeScanner created with default interval=60
12:35:05,265 INFO [STDOUT] [2009:01:13 12:01:265:info]
Resource
les Users List
>> *Sent:* Tuesday, December 9, 2008 10:44:43 AM
>> *Subject:* Re: [rules-users] Problem with (examples for )Guvnor M3
>> (mortgage, advertisement)
>>
>> Which browser are you using? I assume Firefox? If so can you try
>> different
>> o
Hi all,
Can anyone give some explanation / examples on this? The docu is still using
ruleagent.
I found some piece of codes within the KnowledgeAgentFactory, but I saw that
it uses the configuration object. I personally prefer the old style by using
a property file in which the configuration is d
Apparently there was a problem in displaying my post in some browsers because
of the font, so
sorry for posting this double:
Dear mailing-list/forum reader,
I need to set up a test for using Guvnor in cluster.
I searched in the archive, and I know there are few threads regarding this.
But som
Dear all,
I'm testing Guvnor for the first time (M3, never tried the previous
versions) and try to run the mortgage example first.
In the example folder, there's a .txt file which describes how to run it.
So I imported the repository and wanted to take a look at the rules. When I
clicked on the
Hi,
sorry for double posting now, I'm afraid my first post which I added to an
existing thread with similar topic, hasn't been looked at because of the
length of the thread :-) so, please apologize
The following problem:
I have some service implementation in my J2EE-based webapp for
calculating/
if I use Guvnor with Drools 4.0.7 or would there be
"complication"?
Thanks in advance!
Regards
psentosa wrote:
>
> Hi all,
>
> I've been trying to play around with BRMS for some days now,
> and I've noticed from the beginning that the error report:
>
&g
having read your interesting discussion, I'd like to ask some additional
questions regarding using DROOLS in JEE environment. Actually JEE is also
quite new for me as well, so please give some corrections/ideas if I
misunderstand something.
Following problem:
I have some service implementation in
ot; order, not rule evaluation. Rete
> will evaluate your rules eagerly, even if your group is not active. In
> your
> case, with mutually exclusive constraints in your patterns, you should not
> worry about that. Let the engine optimize the matching for you. If you
> find
> pe
ong as you write them in the same order, they are still optimized. The
> only
> problem you will have is if you start using accumulate and collect, that
> are
> really expensive in terms of performance. In cases like that, you will
> need
> a manual optimization, but it is still
Hi,
I'm having some difficulty to understand the concept of grouping, but maybe
it's only because of my understanding of the terms, so please apologize for
the silly question
1. when you are saying "rules fire", does this mean: matching/checking the
LHS of rule, or executing the RHS of rule
2. I
Write your function as a static function.
Both rules have to import this function just like importing class
By using BRMS you put your function as a function asset and any rule can
(from the same package) can use it
regards
Ady Bastian wrote:
>
> I have same functions that is used on two rule
Hi all,
I've been trying to play around with BRMS for some days now,
and I've noticed from the beginning that the error report:
(Contexts.java:flushAndDestroyContexts:335) could not discover
transaction status
keep popping up in the console.
Now after doing some search from the forum,
-Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of psentosa
> Sent: 12 August 2008 09:45
> To: rules-users@lists.jboss.org
> Subject: Re: [rules-users] Fetching values of an object's attribute set
> bydifferent rules
>
>
clearer now, and any idea would be great!
Thanks in advance
Paul
psentosa wrote:
>
> Hi,
>
> I have the following problems:
> I need to prove an object based on certain rules, where the parts of the
> rules should be kept to be used in further process within my applicatio
anks in advance :)
Paul
Hi psentosa,
I don't fully understand what you require, but won't using a List of
WashRuleMatches provide what you need?
rule A
when
$s : Shirt (dirtinessLevel == high)
$holder : WashRuleValueHolder()
Then
System.out.println ("this cloth
Hi,
I have the following problems:
I need to prove an object based on certain rules, where the parts of the
rules should be kept to be used in further process within my application.
In order to fetch those parts, my idea was to insert an additional object as
value holder for the rule's parts,
pu
Hi Matt,
thanks for the mind-opening idea ;-)
I'll try to remember this when I need to do such mapping again
Paul
Matt Geis wrote:
>
> You can do this. Keep in mind that the DSL engine will try to match each
> dsl mapping entry into the LHS of the rule, one by one, in the order they
> are de
Hi,
I have the following questions:
if I'd like to define a quite complex function, which uses both: my own
classes (as parameter, and for use within the function) and some external
library, i.e. commongs-lang-2.2.jar (should also be used within the
function), should I put them all as several jar
Hi all,
This newbie has the following problem:
I'd like to let rules-creator to input something arbitrary, and the
corresponding rules are produced.
To be concrete, he'd like to be able to write the following condition:
When
I play only on "Monday", "Thursday", "Friday"
Then
I
ting of snapshot, the server kind of freezes. I have
to restart it to bring it back to normal, and I do that once or twice
everyday.
On 7/25/08, psentosa <[EMAIL PROTECTED]> wrote:
Sorry ..forgot to mention...
i use Drools/BRMS 4.0.7, Eclipse 3.4 Ganymede...
just now i try to recre
Hi,
just trying to use BRMS for the 1st time by installing the insurance
example.
BRMS and the example are both deployed on JBoss 4.2.2.
After editing a rule (i.e. Driver is underage) by adding a self-defined
function and some new println statements, i built the package and took a
snapshot, and t
Sorry ..forgot to mention...
i use Drools/BRMS 4.0.7, Eclipse 3.4 Ganymede...
just now i try to recreate the snapshot after rebuilding the package (i.e.
create the snapshot from menu "package", and not from "Deployment", and
suddenly I can't open the source package anymore. So I delete the snaps
29 matches
Mail list logo