Well, I saw that, and I'd been thinking of that feature. But it might be
that Leif doesn't need to produce a series of similar rules from a template.
Given that Customers are distinguished by a set of parameters that represent
values that would normally be literals in rules, he might write his rul
Hi,
I am trying to run the project given at
http://blog.athico.com/2009/09/drools-flow-variable-persistence.html.
I am successfully able to run the same in default H2 database, but when I
am trying to run the project, taking Mysql database for persistence. I am
not able to run the demo project a
No, the constraint of an EventWait node (or the State node in Drools
5.1) can only be rule-based. The reason for this is that the rule
engine knows when to re-evaluates rules (based on the evailable input).
If you would use a code-based constraint, the engine would have no idea
when this code con
When you uploaded your sample process to Guvnor, did you add it to the
"default" package (notice that the name should really be "default", and
not "defaultPackage", which is created in Guvnor by default)? And after
adding the process to the package, did you build the package on Guvnor?
The NPE se
The getProcessInstances() method returns all process instances that are
currently loaded into the engine. When using persistence, we
deliberately made that method to NOT fetch all active process instances
(as this could be thousands and that would impact performance). So if
you use persistence, y
Could you send me a simple test project that shows this behaviour? As
it's rather difficult to figure out what's going on without seeing the
actual code ...
Kris
Quoting Anderson vasconcelos :
> Hi everybody.
> I Have a flow : [Start] -> [First_HumanTask] -> Split ->
> [Second_HumanTask]
> or [E
Hi Macon,
You can make some highly flexible DSL's by using regular expressions and DSL
entry chaining.
See the following for an example:
http://blog.athico.com/2008/06/allowing-variable-masks-in-dsl-grammar.html
*
So the above rules could be partially rewritten as:
rule "Monetary 1"
There are certain domains where a collection of objects is itself a member of a
different collection of objects (e.g. zips in counties in states, persons in
cars at intersections). In these domains, it would be helpful to create LHS
conditions on the individual members of the "subcollection".
Have you looked into the drools-templates subproject?
There are database driven templates (thats what I ended out using), but I
suspect since you don't want to use a Excel or a CSV, that will be too
heavyweight for you.
I haven't used the ObjectDataCompiler yet, but it seems to be what you ar
Given the following rules (contrived example):
rule "Monetary 1"
when
Currency(typeID in (CurrencyConst.DOLLAR,
CurrencyConst.EURO, CurrencyConst.YEN))
then
insert(new Fact());
end
rule "Monetary 2"
when
Currency(typeID in (C
Hi,
We're using Drools Guvnor 5.0.1 in a production environment, running on
Oracle's OAS10g 10.1.3.3.0 application server. We're experiencing permgen
issues, particularly when doing large imports of rules, archiving, or
compilation of rules.
We initially deployed to production with the follo
hi!
is there a way to use the templating feature just from within drools?
without the use of excel or csv or java?
i want to have a template-rule and put the placeholder values into two
different packages:
package customer A:
- my-rule-template.drl
- customer-a-data.drl
package customer B:
Lucas,
Great! Thanks for the quick reply.
Macon
From: rules-users-boun...@lists.jboss.org
[mailto:rules-users-boun...@lists.jboss.org] On Behalf Of Lucas Amador
Sent: Thursday, October 22, 2009 10:58 AM
To: Rules Users List
Subject: Re: [rules-users]
Not sure if this is a Seam or Drools issue, but
Under Seam 2.2.0.GA, JBoss 5.1.0.GA, and Drools 5.0.1.GA and Guvnor,
changes to rules within Guvnor followed by a rule build within Guvnor
doesn't seem to be reflected back to Seam or the associated cache
directory.
Under Seam, I've defin
Hi Macon,
you can write all on one statement, but must be separated by comma
[when]User is eligible for “{testCD}”=not MyFeature(testCD ==
“{testCD}”) , $eligible : FeatureEligible(testCD = “{testCD}”)
and you will not get any overhead at runtime because all the
interpretation happens at c
All,
Given the following rule:
rule "Add ABC123 Feature"
when
not MyFeature(testCD == "ABC123")
UserRequest(someValue == "ABC123_FEATURE")
$eligible : FeatureEligible(testCD == "ABC123")
then
insert(new MyFeature($eligible));
Can the constraint for an EventWait node in a flow be code-based (rather
than rule-based)? The Eclipse plug-in (v 5.0.1) doesn't allow this to be
specified, unlike say for a Split node, although the relevant XML can of
course be edited.
Trying to load such a process flow results in a NullPointer
hi,
Thanx for your reply.Im sending my test project.
http://www.nabble.com/file/p26006235/Test%2Brule.zip Test+rule.zip
description:
In the mainjava class i was loading facts and calling runStatelessRules() of
rule runner class.
Im also seding the tomcat console of the output generated.
http://www.nabble.com/file/p26006209/Test%2Brule.zip Test+rule.zip
description:
In the mainjava class i was loading facts and calling runStatelessRules() of
rule runner class.
Im also seding the tomcat console of the output generated.
Hemanth
--
View this message in context:
http://www.na
Hi Hemanth,
Assuming that you've already tried debugging it... could you share your Fact
definition and test rule with us?
The jars are correct.
Leo.
On Thu, Oct 22, 2009 at 7:06 AM, Hemanth kumar wrote:
>
> hi,
> Im working on Drools project.here is my project scenario.
>
> front end : Adobe
20 matches
Mail list logo