If the age of Offers is so important it ought to be represented as
fact data. If it cannot be added to the Offer itself, a proxy fact
could be created, combining a counter with an Offer reference. A high
salience rule for an Offer without OfferProxy would create this.
-W
On Mon, Apr 26, 2010 at 9
we have some rules developed under the default setup in Drools Guvnor. Those
are stored to the default derby database .
we would like to move repository to Oracle database.
How do we do that?
I have configured the Oracle database settings using th persistence manager
in place of derby.
when I
Thank you for your reply!
I understand your approach, and I think it could work if Offers were
inserted into the working memory after the Bid.
However, to implement your approach for already inserted Offers I think I
would need some way of forcing the matching Offer to be the oldest in
memory, is
I'm not going to propose a complete solution, merely the outline of a
different approach.
It would introduce a "PartiallyCoveredBid", which is a Bid with one or
more Offers associated with the original Bid. It extends a Bid with a
Collection of associated Offers (so far) and the accumulated size a
Hi,
I have changed the repository.xml to NOT use JNDI and its working now.
The general idea of the inverted approach shown below is to keep the
fan-out in the Rete network as small as possible. Note the id >
$proxy1.id, which reduces the ProxyCells that are considered. Also,
the lookup of the the name if $proxy2 in the references of $cell1
should keep things bounded. - I
Hi all,
I am trying to configure Guvnor to persist data in MySQL, I am running mysql
5.1-45 (windows 7) under Tomcat 6
The steps that I did:
1) Create empty database "drools" in Mysql
2) Configure Tomcat data source
3) Edit generated repository.xml
Hi guys,
I'm new to drools, and i'm trying to build a small prototype.
I have 2 entities in my model: Offers and Bids. Both have a size (and a
price). I need a rule that matches a single Bid with multiple Offers adding
up in size to the Bid size. Matched Offers have to be sorted
by (increasing) in
I agree. It's strange that all the other versions are available; but 5.1.0.M1
isn't being deployed. I'd like to include 5.1.0 in my EAR file for deployment.
Another question: that kind of configuration is supported, right?
best wishes,
Andrew
On Apr 26, 2010, at 4:35 AM, fmetral wrote:
>
Hi, thanks for the help, I got it somehow to work.
But its a little odd, since the doc says:
"You may specify additional parameters that are used to pass on input data
to the process, using the startProcess(String processId, Map parameters)
method, which takes an additional set of parameters
Are you using RuleFlow syntax or BPMN2?
In RuleFLow I was able to setup two different timers to a work item and even
different timers to different work items. What kind of timers are you
talking about?
Another thing: I didn't use ksession.fireAllRules() but
ksession.fireUntilHalt() in a different
You should probably restrict it so that
$cell2 : Cell(this != $cell1)
Thomas
From: rules-users-boun...@lists.jboss.org
[mailto:rules-users-boun...@lists.jboss.org] On Behalf Of Ryan Fitzgerald
Sent: 26 April 2010 15:34
To: rules-users@lists.jboss.org
Subject: [rules-users] How to make this rule
it's not a problem really..
2010/4/26 Pedro Maria Buitrago Mantilla
>
> The problem is the multithreading execution. For a "SPLIT NODE" of type
> "AND", first, is process one branch, after, the next branch and so on for
> each. The execution is sequential.
>
> PEDRO MARIA BUITRAGO MANTILLA
> Bog
Anyone??? Nobody ever needed more than one timer in single flow???
--
View this message in context:
http://drools-java-rules-engine.46999.n3.nabble.com/Multiple-timers-in-a-single-ruleflow-tp744541p756815.html
Sent from the Drools - User mailing list archive at Nabble.com.
__
Using Split and Join would not execute the branches in different threads.
2010/4/26 rudolf michael
> Alan, couldn't you have achieved this using a Split and Join?
>
> 2010/4/26
>
>
>> Interesting. What you've described Pedro is similar to what I'm trying to
>> achieve, and also relates to some
Hi,
Can anyone advise me on how to make a drools rule more memory efficient? Here
is the problem:
I have a Cell and a ProxyCell object classes.
The ProxyCell represents the Cell when their internal ID's match.
Each Cell and ProxyCell however has a unique name (not same as ID).
A Cell can refe
The problem is the multithreading execution. For a "SPLIT NODE" of type
"AND", first, is process one branch, after, the next branch and so on for
each. The execution is sequential.
PEDRO MARIA BUITRAGO MANTILLA
Bogotá, Colombia
2010/4/26 rudolf michael
> Alan, couldn't you have achieved this
Thanks for the quick response.
Unfortunately I have an arbitrary number of sub flows, so I don't think I
can use a Split and Join. Using the term "sub flow" might be a bit
misleading; what I really have is a work item that can launch an arbitrary
number of independent processes, each with their
OK, *.rf files are in the attachment zip.
This is how I register human task:
WSHumanTaskHandler th = new WSHumanTaskHandler();
KnowledgeBase kbase = readKnowledgeBase();
StatefulKnowledgeSession ksession =
kbase.newStatefulKnowledgeSession();
WorkItemManager wim =
Alan, couldn't you have achieved this using a Split and Join?
2010/4/26
>
> Interesting. What you've described Pedro is similar to what I'm trying to
> achieve, and also relates to some earlier posts I made to the list (title:
> 'Drools Flow: Problem with constraint in (Wait) State node').
>
> I
Jervis,
- downloaded Drools Guvnor 5.0
- removed el-*jars
- added support for JSF in the app (for deploy in Tomcat 6.0) - jsf-api,
jsf-impl
The deploy in Tomcat 6.0 has been successfully.
Many Thanks!
-Original Message-
From: andre.fons...@mail.com
To: rules-users@lists.jb
in the process designer select the background and you will see in the
properties panel all the global process configurations. There you will find
variables, you need to register it all the variables that you will insert
with its types.
greetings
On Mon, Apr 26, 2010 at 8:56 AM, Robert wrote:
> H
That will not register the process variables - its there to pass the variables
data.
You can click on the process diagram in eclipse - go to properties "view" - and
look for the "Variables" property. It's here that you have to register your
process variables.
Vijay
-Original Message-
F
Hi,
I don't understand what you mean ?
I thought with
ksession.startProcess(processName, processVariables);
they are registered.
Am 26.04.2010, 15:28 Uhr, schrieb Salaboy :
> Did you register the equipement variable at process level? Mapping
> uses that definitions to know about the variables
That worked - thanks!
-Original Message-
From: rules-users-boun...@lists.jboss.org
[mailto:rules-users-boun...@lists.jboss.org] On Behalf Of Wolfgang Laun
Sent: 26 April 2010 12:53
To: Rules Users List
Subject: Re: [rules-users] Can I use not and from in same condition?
At first glan
Did you register the equipement variable at process level? Mapping
uses that definitions to know about the variables used across the
processes.
Greetings
- Ing. Mauricio Salatino -
On Apr 26, 2010, at 1:56, Robert wrote:
> Hi,
>
> I have
>
> ...
> StatefulKnowledgeSession
> ksession.get
Can you share your process diagram with us? Did you register your
human task work item handler?
- Ing. Mauricio Salatino -
On Apr 26, 2010, at 5:34, HMandic wrote:
>
> My understanding of Drools Flow was that when you start a process it
> gets up
> to its first Human task and stops there un
Thanks Jervis,
I will check the link and post back.
André
-Original Message-
From: Jervisliu
To: Rules Users List
Sent: Mon, Apr 26, 2010 2:33 am
Subject: Re: [rules-users] Error deploy Guvnor - DEPLOYMENTS MISSING
DEPENDENCIES
Hi, please refer to this doc on how to depl
At first glance, I'd use parens after not and at the end:
not ( GsmCell( lac==$extgsmcell.lac, cellid==$extgsmcell.cellid)
from $extutrancell.getIncomingGsmCells($extutrancell.fdn) )
-W
2010/4/26 Ryan Fitzgerald :
> Hi,
>
> I get an error with the following rule that appears only when I us
I can't prepare it right now because I have a lot of other work. When I
will have little bit time I will prepare test case for you.
Piotr
On 2010-04-22 19:13, Edson Tirelli wrote:
Can you provide an isolated test case to reproduce this problem?
If so, please create a JIRA, attach you
Hi,
I get an error with the following rule that appears only when I use the not
keyword. If I remove the not keyword, it seems ok:
rule "WCDMA->GSM Bidirectional Relations Evaluation Rule - Version 4"
salience 10
dialect "java"
when
$extgsmcell : ExternalGsmCell()
Hello folks,
Currently, this timestamp information is available on the html page (
http://foo.com:8081/drools-guvnor/org.drools.guvnor.Guvnor/Guvnor.html), but
I am wondering if this could be available in some format like
http://foo.com:8081/drools-guvnor/org.drools.guvnor.Guvnor/package/RulesP3/L
Hi Toni,
Just to remember you If you can deploy Guvnor on M2 repository, it will be
very helpfull.
Thanks in advance
--
View this message in context:
http://drools-java-rules-engine.46999.n3.nabble.com/drools-guvnor-5-1-0-M1-not-available-on-Maven2-tp743054p756171.html
Sent from the Drools - U
My understanding of Drools Flow was that when you start a process it gets up
to its first Human task and stops there until you complete it and then the
process continues. Apparently I've got it wrong...
So I have this workflow (process - let's call it MainFlow) that consists of
a Human task and a
Hello,
some days ago I implemented rules with a dicision table (5.0.1) and
everything works fine.
But suddenly I ran into a strange ArrayIndexOutOfBoundsException. I thought
my
decision table is the problem and so I tried to test with some simple tables
but I still
get the same error.
Here is th
Hi all,
I face a very blocking problem and I require help to solve it quickly.
Is it possible to access the loggued username in a class. I mean, I have
created a class that connect to an other application (EAR) to get values
from enumerations.
But in this class, the retrieve the data, I need to
36 matches
Mail list logo