Hello
I'm Emmanuel from France. (sorry for my English)
We use drools 4.0.7 in a hospital application.
We load drools and our programs (services) with tomcat Devloader (5.5.9)
We use drools in statefullsession (retract and insert facts by rules in a
ruleFlow).
everything is perfect for us, except
I have a need to "expire" some facts based on time. In other words, if an event occurs some time and if sufficient time has gone by, the fact should become inonsequential and be retracted. Here is my simple rule to do this:
rule"Retract expired facts"
dialect"mvel"
// salience -5
when
e1 :
I was following that subject on markmail, and them I've enterred the
user-group (so subject and body are coppied from them). I've got the
exactly same problem. When I use the rules with objects the came from the
database (thru JPA hibernate provider), thouse rules never match. When I
do the same
I was wondering if it's safe to use the KnowledgeAgent inside of a JEE
container. I'm assuming that the KnowledgeAgent implementation spawns a
thread to poll for changed resources (to reinitialize a KnowledgeBase, for
instance, when updated DRL files are detected). Normally, use of unmanaged
Hi,
Yes it is optional, it's a convention...
-Patrick
-Message d'origine-
De : rules-users-boun...@lists.jboss.org
[mailto:rules-users-boun...@lists.jboss.org]de la part de Harsh Jetly
Envoyé : mardi, 24. juin 2008 06:55
À : rules-users@lists.jboss.org
Objet : Re: [rules-users]
Hi all,
I'm seeing consistency issues when trying to refresh rules manually. I am
seeing issues with sessions getting different results while I call this
function in a loop. Is there a more proper way of migrating the sessions over
to a rules base that has updated rules?
/**
*
The broker console example is work in progress in the sense that I intent
to add more features to it along the way, but what is there now works and
serves as an introduction.
A whole lot of documentation was also added after CR.
Check out trunk and build the docs and the example. It is
I was inserting the wrong object in to the session.
From: Bhamidi, Krishna
Sent: Thursday, April 30, 2009 3:21 PM
To: 'Rules Users List'
Subject: RuleFlow and Internal Model
Hi,
We are attempting to use a rule flow in Guvnor 5.0.0 CR1. When we use the
internal
I'm using various KnowledgeBase objects in a J2EE environment, using JBoss
4.2 as the application server. Currently, I keep a list of KnowledgeBase
objects in a stateless session bean. The thought being that to keep the
application scalable, we don't want contention around rule sessions.
Yoni,
The way I do this is within the ruleset. I have an initialization rule
that looks something like this:
when
then
drools.getWorkingMemory().startProcess(ruleflow id);
end
By not putting anything in the when clause, the rule gets activated
and put on the agenda first.
Dan
In the M5 release, I could use a Boolean global as an Out type parameter and
changes I made to the global would be maintained in the results. In CR1, I
use the CommandFactory to add the global with out set to true, and I get
back the initial value of the Boolean, not the updated value.
Here's a
rule at least one element from the array starts with abc
when
ABC( $array : array )
exists( String( this matches abc.* ) from $array )
then
// do something
end
2008/6/25 ygaurav ygau...@yahoo.com
Hi All
i am new to drools and I am hoping that some body can help me out here.
I
Benoit,
Could you try this with Drools 5 to see if you still have problems? I just
tried with that and each rule fired as expected.
2008/8/20 Benoit VILLAUMIE bvillau...@karavel.com
Hello,
I am using Drools engine 4.0.7 and Eclipse 3.3 drools plugin.
I have a very basic/dumb problem but I
try using double \ inside evals and consequences... not sure if it will
work, but try it out... this should all be fixed in drools 5.
2008/8/27 samlotti samlo...@gmail.com
Hello,
I'm trying to construct a rule in drool V4 that contains and eval and a
literal string that may contain
It seems that the rules-users list is experiencing either massive
delays or duplicate delivery.
See message below which reached me today.
Should you experience the same effect, I have indicated this to
rules-users-owner so it is known
Cheers,
Ingomar
Von: David Boaz
Is anyone else receiving old list messages? I have received over 20 with some
dated as far back as June 2008.
Earnie!___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users
testing 12
___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users
Hello
You can set any attribute as the time clock
You have to add an annotation
It is in the fusion doc
Sorry for my late answer but I am on holidays :)
Regards
Nicolas
2009/4/27 cyphr hrishikesh.va...@wipro.com
Thanks Nicolas,
I looked into Drools-fusion over the weekend - interesting!
i
What does the arrow (-) mean in a rule file? I've searched on Google,
looked through the Drools documentation, and haven't been able to find out
what it does.
It appears in the autocomplete of my IDE for Drools, and I've seen it in an
example in the JBoss Seam documentation, but am unable to
You are right Edson.
I also have another rule with less salience value that does comparison. my
attention was completely on first rule which does null check and thinking
that was causing the issue :(. Good find and thanks again for the help.
Edson Tirelli-3 wrote:
Techy,
I
Hello,
remove the final modifier for the getHomePage method, it's a problem related to
shadowProxies, as they are CGLIB proxies they cannot proxy final methods...
-Patrick
-Message d'origine-
De : rules-users-boun...@lists.jboss.org
[mailto:rules-users-boun...@lists.jboss.org]de la
Do you want to use Drools to determine which elements are added to the listbox?
Earnie!
From: sreenivas555 yssr_...@yahoo.com
To: rules-users@lists.jboss.org
Sent: Wednesday, April 22, 2009 8:58:09 AM
Subject: [rules-users] listbox in DSL
Hi All,
I want to
you can start a process from a rule consequence like this:
drools.getKnowledgeRuntime().startProcess(com.sample.MyProcess);
https://hudson.jboss.org/hudson/job/drools/lastSuccessfulBuild/artifact/trunk/target/docs/drools-flow/html/ch03.html#d0e237
On Mon, Jun 16, 2008 at 1:50 PM, Yoni Mazar
Hello Everybody,
I'm a newbie to Drools, so please excuse me, if question is very
fundamental.
I'm not using drools with eclipse or brms.
I would like to convert the drl file which I had created using a text editor
to the binary form ie. in pkg format (serialized), which can be used im my
Java
Hi,
We are attempting to use a rule flow in Guvnor 5.0.0 CR1. When we use the
internal data model, we get an error that essentially reads
java.lang.IllegalArgumentException: OR split could not find at least one valid
outgoing connection for split
When we use an external data model (model in
Running the latest 5.0.1 snapshot jars and it can handle enums fine. See
attached code. It should print out the following output when run:
Hello World
Goodbye cruel world
At some point I said GOODBYE
OK_I_AM_SERIOUSLY_SAYING_GOODBYE_NOW is the current status AND at some point I
said HELLO
At
Yeah, I've gotten about 40 old messages today. Also I replied to a message
today and haven't seen it sent back to me yet.
Well, why am I even replying to this, then. :) If nobody sees this message
until November, I hope you all went to ORF2009. :D
--- On Fri, 5/1/09, Ingomar Otter
If you can use Drools 5, then try out event expiration in stream mode using
drools fusion:
https://hudson.jboss.org/hudson/job/drools/lastSuccessfulBuild/artifact/trunk/target/docs/drools-fusion/html_single/index.html#d0e1086
If you can't do that, you'll need an extra control object that's
rsund...@aretus.biz wrote:
I have a need to expire some facts based on time. In other words, if
an event occurs some time and if sufficient time has gone by, the fact
should become inonsequential and be retracted. Here is my simple rule
to do this:
*rule*Retract expired facts
what version of drools are you using? because in Drools 5.0 fusion is
in charge of temporal evaluations.
Greetings
2009/4/30 rsund...@aretus.biz:
I have a need to expire some facts based on time. In other words, if an
event occurs some time and if sufficient time has gone by, the fact should
Drools 5.0 solves this much more elegantly, via the CommandExecutor,
which even has built in xml marshalling for remote services. You can see
all the command we impl in the unit test here:
Quinn, Dan wrote:
We are writing an app which has a large number of facts. This app also
needs to make lots of queries against working memory. Our memory
footprint seems to be expanding at an undesirable rate due to the
number of queries made against working memory. It is increasing at a
rate
32 matches
Mail list logo