Mike,
The work item definitions file is only used in the graphical editor, to
add custom nodes to the palette. It is not used at compile or runtime,
as the variable definitions etc. are all part of the work item itself.
So you probably don't need it in your environment.
Kris
Quoting msully
Hello,
I am trying to find out if and why a rule is not activated/fired when
asserting a piece of data. At the moment I am using JBoss AOP to pointcut
the method EntryPointNode.assertObject(), and from there I run an algorithm
to walk to every node in the rete network. My question is how can I be
Hi,
I downloaded standalone Guvnor:
http://download.jboss.org/drools/release/5.0.1.26597.FINAL/drools-5.0-guvnor-standalone.zip
and then began reading the documentation to get idea how to start with it:
http://downloads.jboss.com/drools/docs/5.0.1.26597.FINAL/drools-guvnor/html_single/index.html
Hi,
I'm planning to use drools to define rules and execute promotions for
telecommunication events such as voice call, SMS, MMS, etc.. events. So
we can expect very large amount of events per day.
We need to define different business rules to provide promotions,
bonuses to the subscribers. Some
My requirement is to expose drools rules as a web service ,which can be
accessed by any kind of client including .net .I have built a struts based
web application.When the user submits the struts client should be able to
submit the data ,to the web service ,which will execute the rule engine ,and
tanzu wrote:
My requirement is to expose drools rules as a web service ,which can be
accessed by any kind of client including .net .I have built a struts based
web application.When the user submits the struts client should be able to
submit the data ,to the web service ,which will execute the
LeftTupleSource.getSinkPropagator().getSinks()
ObjectSource.getSinkPropagator().getSinks()
2009/6/18 Peter Wong peterwong1...@gmail.com
Hello,
I am trying to find out if and why a rule is not activated/fired when
asserting a piece of data. At the moment I am using JBoss AOP to
I've been doing similar things in an ESME (direct SMSC connection) but
without rules, as the conditions were much simpler, and just handling SMS
messages themselves.
I guess you'll base your decision on billing records, possibly in connection
with subscriber data. Billing records might be a bit
Hi,
I'm very new to Drools and don't know if this is possible, but i'm trying to
manually update the knowledge base with the following steps :
1. Retrieve a knowledge builder from KnowledgeBuilderFactory
2. Load a drl rules file into builder
3. Create a knowledge base with the knowledge
First of all, your approach does not sound like a good approach. If you
are removing all rules and adding new ones, why not simply create a new
knowledge base?
Anyway, by default, drools fires all rules right after a rulebase is
updated. To disable this behavior, you need to set a knowledge
Thanks for the quick response.
Yes, the events will be collected from the CDR(caller details records)
files. We will decode the CDR files and store in a database. So the Rule
Engine should be able to process these events to identify who are the
candidate winners. This winner selection criteria
Is it possible to create a .drl file of nothing but functions then import
those into another .drl file to make it easy to maintain one file of API
style functions and then beable to call them from any additional .drl files?
Thanks,
Chris
___
So I'm playing with Drools in Equinox OSGi, and so far it's behaving quite
nicely - one bit of weirdness though.
What I'm trying to do:
I have a bundle with a 'flow manager' that listens for instances of
WorkItemHandler in the service broker (well, really my own subinterface that
has a getName
Update: The plot thickens.
Sometimes when I'm importing my domain class in the rulesflow, it works, and
sometimes it does not.
This seems to be tied to the class loader that happens to be in the current
thread context. Sometimes it is
org.eclipse.core.runtime.internal.adaptor.ContextFinder and
Chris,
If you are creating a function library, why don't you create it as static
methods in a java class? easier to develop, to unit test and you can use
import function in the DRL to import all of them.
[]s
Edson
2009/6/18 Chris Richmond crichm...@referentia.com
Ok…I am trying
Edson,
Thanks.and I am considering that option as well.but the nice thing about the
functions in the drl file is the system remains much more fluid..in other
words, if I can focus on doing what I want to do all within the DRL file, it
proves the flexibility of the system more to me than having
That's a great idea Edson. I just found Mark's posting on this from 2006:
http://markmail.org/message/pbs73eainajilmjm
Very helpful.
best wishes,
Andrew
2009/6/18 Chris Richmond crichm...@referentia.com
Edson,
Thanks…and I am considering that option as well…but the nice thing about
Chris,
I understand. Although functions in DRL files where conceived to be very
simple things to reside with the rules. So, although you can have a DRL file
with all your functions and, as long as this file is the first you load into
your knowledge builder, use the functions on other files,
The only requirement in this case is that when you create the
KnowledgeBuilder and starting adding the resources to it (DRL, flows, dsls,
etc), a given resource can only reference an asset that was previously
loaded. So, you must make sure the DRL with your functions is the first
resource to
19 matches
Mail list logo