Hi,
The example I used is very simple.
I don't have a concrete idea on how the rules should look.
For example the return value can be map or insert new bean to working
memory.
Probably I will have to build a generic component for processing and
building packages.
Are you familiar with an API that
Could you describe the data you have in the DB and the types of your facts.
Above all, do provide some examples.
-W
2009/3/31 Meny Kobel meny.ko...@gmail.com
Hi,
Any updates regarding this subject?
I have the same problem and can't find a solution.
Like newbie I need to read varying rules
Thanks again Mark.
If anyone had done this before, Please share your ideas.
If not, drools experts, Please give me some idea how we can do this. Since
I'm new to drools, I'm not sure where to start. I have short deadline.
Thanks in advance.
Mark Proctor wrote:
drools newbie wrote:
Thanks
Hello,
Actually I want to do the same way Sandeep has described.
1. Can someone please post some example to generate the drl from template?
2.This thread is more than a 1 1/2 year old. Does drools have in-built
template concept now instead of using a template langauge such
velocity, freemarker
drools newbie wrote:
Hello,
Actually I want to do the same way Sandeep has described.
1. Can someone please post some example to generate the drl from template?
Drools 5.0, which you can see in the M2 release, has drools-templates.
You'll need to look at the unit tests on how it works, but
Thanks Mark.
I looked the unit tests. I'm looking for something different
I would have different rules that compares varying fields(rather fixed set
of fields) and those are all defined in the database.
Ex:
1.Rule1 conditions are f1='a' f2='b' in db
2. Rule2 conditions are f3='c' or f4='d' in
drools newbie wrote:
Thanks Mark.
I looked the unit tests. I'm looking for something different
I would have different rules that compares varying fields(rather fixed set
of fields) and those are all defined in the database.
Ex:
1.Rule1 conditions are f1='a' f2='b' in db
2. Rule2 conditions are
88, mobil: +47 41 44 29 57
E-post: [EMAIL PROTECTED]
http://www.edb.com
EDB - En sterk og nær IT-partner
-Opprinnelig melding-
Fra: [EMAIL PROTECTED] på vegne av Mark Proctor
Sendt: lø 3/3/2007 2:48
Til: Rules Users List
Emne: Re: [rules-users] Writing rules using java..
Just generate
I am very new to rules engine. The requirement for our project is store
and retrieve rules from the database.This makes the rules engine to
directly interact with the Database, to do so is there any way that I
can use the rules api to set the rules.
For example something like
Creating a rule.
I may not be understanding your requirements but would
storing the rule definition file in the database help.
So you have file with all your rules and you store it
in the database. At execution time you load the rules
file and hence rules from the database.
Rahul
--- Kolla, Sandeep [EMAIL
Just generate a drl from your model using a template langauge such
velocity, freemarker or stringtemplate. you can generate and load the
drl at runtime, this is what the decision table does. You can program
agains the API yourself, but its quite complex, and certainly not
recommended for a
11 matches
Mail list logo