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 noob
Eclipse is reporting an ExceptionInInitializer in my DRL file. Does
anyone have an idea what might be causing this?
Thanks in advance,
Scott
___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users
Hi,
I finally got around to get my hands dirty. And I run into some problem. The
results I'm getting are not the ones I expected to get :-).
I have a rule:
rule "FC.93"
when
r1: Record( psc == "101", fundType == "1", $pa1: pa ==
"7111010", sa matches "F1202[0-9]" )
Hi,
I try using globals in functions but I get un error,
Exception in thread "main" org.drools.rule.InvalidRulePackage: Function
Compilation error
at org.drools.rule.Package.checkValidity(Unknown Source)
at org.drools.common.AbstractRuleBase.addPackage(Unknown Source)
at
org.drools.e
Hi Rahul,
Its not about storing the whole file into the database.
I would have a Table representing the parameteres required to construct
a rule.
For example.
Tables:
RuleSetTable:
Ruleset_id
Ruleset_name
RuleTable:
Rule_id
Rule_name
Rule_saliance
Rule_condition
Rule_consequence
Ruleset_id
N
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 PRO
Previously Edson had suggested using the "from" CE.
Here is the example from his previous posting
rule "Device not working (condition id = 4)"
when
alertDefinition : AlertDefinition (conditionID==
4, eid : entityID)
Power( value < 1000 ) from dao.getPower( eid )
Temperature( deviceT
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.
Rule
Hi,
I am exposing a rule via an Axis2 1.0 web service. I have seen that the
Drools jar files need to be in the axis2/WEB-INF/lib because for some
reason they are not loaded from the deployed service archive. The
problem I am having is that I get the following error message:
Rule Compilation err
Hi, I have a similar problem, in particular I need that before retracting
facts, all the interested rules have fired. How do you solved it?
2007/2/8, Justine Hlista <[EMAIL PROTECTED]>:
Need some instruction for retraction strategies. We have an application
that receives messages about the stat
On 3/2/07, Francisco Brum <[EMAIL PROTECTED]> wrote:
I also need to make a rule with a lookup tables, and I have found that the new
version of rules support 'from'.
Another solution could be the the use of globals:
http://labs.jboss.com/file-access/default/members/jbossrules/freezone/docs/3.0
On 3/2/07, Aeinehchi Nader <[EMAIL PROTECTED]> wrote:
I wonder if it is possible to write rules and make queries toward the
knowledge database of Jboss Rules using Java language itself. What I need
is to to be able to access the rule engine's API.
I do not want to use Drools language or XML.
hi,
how do i use xml tool and API's provided by JBOSS Rules to convert rule
files (.drl) to xml files.I know schema definition for XML for representing
the rules that already jboss has but i cant understand where i write my XML
file and how to run that XML.I'm using Eclipse.Please help me.Its u
I wonder if it is possible to write rules and make queries toward the knowledge
database of Jboss Rules using Java language itself. What I need is to to be
able to access the rule engine's API.
I do not want to use Drools language or XML.
Thanks
> Vennlig hilsen/Best regards
> Nader Aeinehchi
I also need to make a rule with a lookup tables, and I have found that the new
version of rules support 'from'.
The syntaxe it's something like:
'from'
* http://jira.jboss.com/jira/browse/JBRULES-341
'from' allows the engine to reason over data not inside the engine, this can be
u
I don't have the syntax at hand but Edson has previously posted about
using "from" in similar circumstances.
This would allow you to access a lookup table on a database as part of
the LHS of a rule.
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of jdepaul
16 matches
Mail list logo