Hi,
I recently run into some problems when trying to create a simple holiday
request process.
I defined process variables but I struggle to understand how to access them
in Human Task.
In my User Task ,,holiday approval I have this as a description:
#{employee} requested holiday for #{length}
Hello everyone.
I've got a question regarding the performance of Drools in STREAM mode.
It seems to me, that either Drools is not very fast here, or the problem
is with the rule itself.
This is the rule.
rule ABC
no-loop
when
$a :
You need to use both mappings
IN Mappings (Parameter Mapping in the IDE): this will copy your process
variables to the work item scope
and OUT Mappings (Result Mappings): this will copy the information created
or modified by the work item (in this case a human task) to the process
scope.
yes I'm with Rui,
Changing the annotations in the code requires recompilation.. and that's not
good... because when you update your drools version (ramram) you will lose
that kind of changes.
I think that the best solution is to create xml mappings for different
vendors.. Rui if you can contribute
I'm using Drools for a system of alarms on agriculture. I am considering
several parcels, whose plants can be on different status (for example,
sprouting, flowering, etc.). These statuses are updated automatically by
rules, controled by several calendars. In the other hand, the farmer is
allowed
What and how are you timing?
Executing exactly this rule on three event types with just an int id,
running with
long t0 = System.currentTimeMillis();
int count = 50;
for( int i = 1; i count; i++ ){
session.insert( new EventA( i ) );
session.insert( new
For you, maybe t1 is more important than t2, but for someone else perhaps t2
is more important than t1. I don't know which solution is better, but right
now, t1 is being logged and t2 is being thrown.
Here is the Jira issue: https://jira.jboss.org/browse/JBRULES-2656
On 15 November 2010 11:56, Anais Martinez amarti...@iti.upv.es wrote:
I'm using Drools for a system of alarms on agriculture. I am considering
several parcels, whose plants can be on different status (for example,
sprouting, flowering, etc.). These statuses are updated automatically by
Hi!
I created a new issue some days ago. I'm new to the jboss community and
therefore not sure whether I did it correctly. It seems like no one has
found it yet.
Could somebody have a look at it and could provide me feedback?
http://jira.jboss.org/browse/JBRULES-2782
The system is receiving readings from real sensors of humidity, temperature,
etc.. There are a lot of rules for deciding if a specific plague or illness
affects (or can affect) to the plants or not: One condition of those rules
is the plants' status, because the illnesses affect to the plant
_
SEEBURGER AGVorstand/Seeburger Executive Board:
Sitz der Gesellschaft/ Bernd Seeburger, Axel Haas, Michael
Kleeberg
Registered Office:
Edisonstrasse 1
You forgot to put the message in the bottle! ;)
Esteban Aliverti
- Developer @ http://www.plugtree.com
- Blog @ http://ilesteban.wordpress.com
2010/11/15 Roess. Oliver o.ro...@seeburger.de
lol
2010/11/15 Esteban Aliverti esteban.alive...@gmail.com
You forgot to put the message in the bottle! ;)
Esteban Aliverti
- Developer @ http://www.plugtree.com
- Blog @ http://ilesteban.wordpress.com
2010/11/15 Roess. Oliver
Of course!
I'm just going to port MySQL database schema to Oracle in my project.
Give me some days only!
2010/11/15 Mauricio Salatino sala...@gmail.com
yes I'm with Rui,
Changing the annotations in the code requires recompilation.. and that's
not good... because when you update your drools
I think that a parcel (a field) needs to be a static fact, perhaps not
maintaining a single state but two states, previous and current. Events are
state changes and sensor readings.
Now, if sensor readings are dangerous for state A and if the last state
change is not much distant from the sensor
Well, I'm in a dead end with my model, so I'm going to consider your idea. I
think it is best solution.
Thanks again.
--
View this message in context:
http://drools-java-rules-engine.46999.n3.nabble.com/Reasoning-with-past-events-tp1903815p1904505.html
Sent from the Drools - User mailing list
Do you mean that insert (send) Y times A inserts Y times Aevent with the
very same id?!
If so, you will have to reconsider your approach because you are creating
the worst possible scenario for the Rete algorithm, i.e., O(n^3) cartesian
tuples for your activations.
There are strategies for
After some research it seems that jackrabbit handles the
serialization/deserialization of the rules.
However, I cannot find how the rules are exported so nicely (with a nice XML
structure, with lhs, rhs tags). If I use XStream to serialize a
RuleBase, org.drools.rule.Rule or
maybe ( probably is ) related to JIRA:
JBRULES-2794https://jira.jboss.org/browse/JBRULES-2794
/Anatoly
On Thu, Oct 28, 2010 at 11:56 AM, Edson Tirelli tire...@post.com wrote:
Lubos,
Yes, you can always send an e-mail to the list first. In this case,
it looks like a bug... needs to be
Hello again!
Thanks for the heads up, Wolfgang.
Basically, what I try to create is some sort of batch window, which is
not really implemented into Drools Fusion if I remember correctly.
It doesn't HAVE to be A, B, C in that particular order which I specified
in my last post, but the
Hi Leonardo,
Thank you very much for your fast response!
I mentioned why I re-added the same rules within the issue-description.
It is something like a simulation of lots of rule changes. We are
building an application where rules will be created programmatically.
Rules will often change.
For
And, I hope, it doesn't matter in which order the Events A with id x are
matched with Events B with the same id.
The idea of my approach is to make the Events A, B, C not directly visible
to the rule ABC but through a filter fact, one per type (A, B. C) and per
id.
Here is the abstract base
if you use Spring, you can just use
org.springframework.orm.jpa.JpaTransactionManager with non-XA
transactions:
http://drools-java-rules-engine.46999.n3.nabble.com/Exception-using-persistence-tp856774p863641.html
/Anatoly
On Sat, Oct 16, 2010 at 6:28 PM, Kris Verlaenen
Hi All,
I am able to print the logs that says which rule was fired and what is the
id for it.Thanks Wolfgang!
Is there any way I can print the conditions(when clause) that got executed
and which condition failed to execute and the order of those conditions
execution?
The application which I am
We are attempting to remote debug our rules in GlassFish v3 and none of our
rule breakpoints are bing hit? Is there any particular in container debug
configuration needed for this to work?
We are using Drools 5.0.1.
Thanks
--
View this message in context:
Hi Geoffrey.
Thank you very much for your replies. I was just testing the Drools Planner,
and the way it was implemented (with a search approach), I thought it would
work with the 8Puzzle problem. I already worked with this problem executing
an A* search
When I asked this question, I meant I don't want to use any frameworks
or application servers. But for now I think I should consider to use
jBoss or such to manage cross session tx.
I'll take look at this Spring's implementation, because I think there
should be an independent implementation in
Hi,
I'm using Drools 4.0.7. I find == operator does not work for big int
value (like 2147483647). The condition is like sec.fir.i == 2147483647. I
attach my test code. With my simple testing, it seems that it does not work
for comparsion with int constant from 11 to 2147483647. Is it a
Hi,
I am using Drools 5.0 and Guvnor 5.1.1.
I am trying to access a package from Guvnor in a Java application. It gives
the below error message.
Server returned HTTP response code: 401 for URL:
http://localhost:8080/drools-5.1.1-guvnor/org.drools.guvnor.Guvnor/package/pricing/LATEST
I
Hi, you need to use same of Drools/Guvnor on your client and server side.
Cheers,
Jervis
On 2010/11/16 11:19, jegansp wrote:
Hi,
I am using Drools 5.0 and Guvnor 5.1.1.
I am trying to access a package from Guvnor in a Java application. It gives
the below error message.
Server returned
Thanks for your response Jervis. I will try with Drools 5.1 and update.
Regards,
Jegan
--
View this message in context:
http://drools-java-rules-engine.46999.n3.nabble.com/401-Http-Response-while-accessing-a-package-tp1908870p1909139.html
Sent from the Drools - User mailing list archive at
In process flow i need to execute alternate path based on some external
event. How can i do this ?
For Ex:In a process (shown below) billing activity was implemented using
work-item definition.
Process goes to next node i.e. Do some task only after completing billing
activity. I am calling
On 15 November 2010 19:30, kkinjal kinjal.khand...@gmail.com wrote:
Hi All,
I am able to print the logs that says which rule was fired and what is the
id for it.Thanks Wolfgang!
Is there any way I can print the conditions(when clause) that got executed
and which condition failed to
33 matches
Mail list logo