I need to write some rule which will *only* fire on newly inserted data
points in Working Memory. Does Drools support any
such feature which will help me to achieve this ? Any suggestion, how can
I
achieve this efficiently?
I am inserting 6 matching DataObjects into Working Memory. Rule is
May be you could store the names of every fired rule in a global by
putting drools.getRule().getName() into a list on the RHS.
Then you could get all rules in your package ( pkg.getRules() ) into
another list and diff both collections (another_list.removeAll(list) ).
Thalupula Ravi wrote:
Hi,
Hi Thomas,
We're doing that in our project (we have different set of rules for
different internal processes), and we have one rule base and every time
we want to run the engine we execute:
statefulSession.startProcess(rule.flow.id);
statefulSession.clearAgenda();
Ron Kneusel wrote:
Greetings!
I am attempting to run the HelloWorld example for Drools 4. I have Eclipse 3.3 setup on Windows with the Drools plugin. I have created a project with the Drools examples and added all the Drools .jar files to the project. Everything compiles. When I initially
Hi,
I want to use rules which shall generate as a consequence a new java object.
The GUI of my application shall display the new generated objekt.
but how can the GUI of my application get informed by the rule engine that
it has generated a new object (Warning)? And how the GUI or any other java
On Wed, Jun 18, 2008 at 10:29 AM, Jaroslaw Kijanowski
[EMAIL PROTECTED] wrote:
May be you could store the names of every fired rule in a global by putting
drools.getRule().getName() into a list on the RHS.
Then you could get all rules in your package ( pkg.getRules() ) into another
list and
I want to use rules which shall generate as a consequence a new java
object.
The GUI of my application shall display the new generated objekt.
but how can the GUI of my application get informed by the rule engine that
it has generated a new object (Warning)? And how the GUI or any other java
Thanks Alexander.
There was a question about Timestamp in my table.
Condtion is : compare to start_timestamp can not be less than or equal
Current Date.
i am trying to like this ,
EmployeEx(eval(startTimestamp.after(new
Timestamp(System.currentTimeMillis()
In This case No Rules to
Hi,
On Wed, Jun 18, 2008 at 1:17 PM, Alexander Claus [EMAIL PROTECTED] wrote:
I want to use rules which shall generate as a consequence a new java
object.
The GUI of my application shall display the new generated objekt.
but how can the GUI of my application get informed by the rule engine
Hi,
it may also help to have a look at the PetStore example.
Alexander Claus wrote:
I want to use rules which shall generate as a consequence a new java
object.
The GUI of my application shall display the new generated objekt.
but how can the GUI of my application get informed by the rule
There was a question about Timestamp in my table.
Condtion is : compare to start_timestamp can not be less than or equal
Current Date.
i am trying to like this ,
EmployeEx(eval(startTimestamp.after(new
Timestamp(System.currentTimeMillis()
In This case No Rules to fired.Please review this
it seems the activation for the second node is not cancelled also i
do a retract in the rule
The activation should have been removed from the ruleflow group. I just
tested this with a small example and I do not seem to be able to reproduce
this error, the retracted object seems to have
i'll try to make a simple example and send it, currently i found a dirty hack.
Cheers
Markus
On Wed, Jun 18, 2008 at 2:13 PM, Kris Verlaenen
[EMAIL PROTECTED] wrote:
it seems the activation for the second node is not cancelled also i
do a retract in the rule
The activation should have been
Do not spam both user and dev mailing lists. This is a user question,
contain it there.
Details on how to better use the mailing lists are here
http://labs.jboss.org/drools/lists.html
Mark
siddhartha banik wrote:
Hi All,
I am using Drools Stateful session with serialized Rule Base Working
I have a set of rules that /all/ contain the following condition...
positionQuantityAllocatedToLegs :
Integer(intValue position.quantity)
from accumulate( StrategyLeg(priority 1, instrument == equity,
longShort ==
Hi,
I am migrating one of my projects to using the drools rule-flow. I have a
bunch of RuleFlowGroups and just 1 fact object (where I am iterating over an
external list and hence I execute the RuleFlow tens of thousands times,
inserting a new fact object for each element in my list). Each
16 matches
Mail list logo