My scenario is a rule that is firing over a collection. For each item
in that collection a ruleflow starts to handle it. Right now the
ruleflow just uses the log workitem to log the steps. When there are
~600 items in the collection I'm getting stack overflows. Granted the
processes
Hi All ,
I am trying to write below rule in Guvnor Guided Editor but not able to do
so , Any help or suggestion will be appreciated -
Let say i have a Invoice Object which contains collection of Line Items
Class Invoice
{
private Collection lineItems;
}
Class LineItem
{
private double gr
Hi Ed, thanks for the quick reply, I will try the temporal constraints as
well.
I haven't completed my testing yet but the sliding windows seems to be
working. Thanks!
I am getting a strange problem of my program hanging. It gets all the way
past my "dispose()" of the StatefulKnowledgeSession
Although your rule should work, the best way to write your rule would be
using temporal constraints instead of sliding windows:
rule "Goodbye before Hello World"
when
$m : Message( status == Message.HELLO )
exists( Message( status == Message.GOODBYE, this
b
Hi Ed, no need to apologize, you have been invaluable in my first steps
towards Drooling :-D so thanks for all your help, it is GREATLY appreciated
:clap:.
We have a few scenarios in mind but aren't really implementing them yet,
just trying to see if sliding windows works the way we think it does
Ober0n,
Sorry for the delay on answering. I am on a trip with limited internet
connection.
I am interested in your experience with the sliding windows, since the
tests are working. Maybe it is a scenario not covered by the tests.
In any case, what is probably happening is that you are
Hi Wolfgang,
The answers so far were all correct. Just to add a bit more, try this:
https://hudson.jboss.org/hudson/job/drools/lastSuccessfulBuild/artifact/trunk/target/docs/drools-fusion/html/ch02.html#d0e520
Feedback most welcome.
Also, going on into the internals, as Mark men
This might be of interest http://www.jboss.org/community/docs/DOC-11909
-Original Message-
From: rules-users-boun...@lists.jboss.org
[mailto:rules-users-boun...@lists.jboss.org] On Behalf Of JohnSood
Sent: 30 March 2009 13:20
To: rules-users@lists.jboss.org
Subject: [rules-users] How to u
This looks like a JPA issue; have you configured your PersistenceUnit?
I haven't used EclipseLink but in other IDE's you can create a PU
graphically. There's always persistence.xml to fall back to as well.
Looks like EclipseLink can't find a PU definition.
Hi,
I am in process of development of an application that uses the DRools 4.0.7
and fires the rules based data returned by some SQL statements.
The problem is when we use SQL functions like MAX(), AVG(), SUM() etc. then
providing facts to the rule engine is easy and DIRECT as these functions
ret
Hi Kris
Thanks for the clues. But I have bigger problems when I try to use the
persistence with Oracle and EclipseLink(because of project
requirements).
I have mentioned in the below mail about the problems faced while
migrating from H2 to Oracle. After fixing these (Oracle with Hibernate)
iss
I don't know whether this is the "better (than rule templates) generic way"
you
are hinting at, but I've been extending the template mechanism with a
feature
permitting expansion from objects - maps or bean-style. This means that
you can take a rule template file and instantiate its rule(s) from a
Hi,
Could you please advice which is the best way to build Drools packages?
I need to read the rules from database and I have to build drools packages.
The content of the rules is very flexible :
1. I don't know the number of rules.
2. I don't know rule data: the type name, operation and value.
3.
Hi,
As I understand, you dont need to put any hibernate class in guvnor. Just
try that:
Implement a global class in your rule engine(not guvnor) with a method that
uses hibernate (for example getEntity(EntityName, Id)), then load the engine
in the same scenario as guvnor (JBOSS) and add a global
14 matches
Mail list logo