yes.. sounds more like a normal java problem than Drools FLow problem. I
think that your solution is the correct one because it handle internally the
multithreaded requierements and then it continue the business process
normally.
2010/4/22 Pedro Maria Buitrago Mantilla
> The idea is to run mult
___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users
Hi guys,
I am trying to implement multiple timers in a single ruleflow.
I am trying to achieve:
1. Multiple timers running at the same time.
2. Multiple timers running consecutively.
It seems to me that the current implementation will not allow for this kind
of behavior out of the box.
ideas?
--
View this message in context:
http://drools-java-rules-engine.46999.n3.nabble.com/Drools-Flow-API-for-Timers-tp732299p744423.html
Sent from the Drools - User mailing list archive at Nabble.com.
___
rules-users mailing list
rules-users@lists.j
Is there documentation on how to do this, including a full example. I saw
the pom file, but still don't know the run/compile targets?
2010/4/22 Greg Barton
> Have you ever thought of using maven? Your problem is no doubt with
> including the transitive dependencies of the drools libraries, whi
Hi,
just starting using drools and need to use templates but having error
messages (described in comments in the code below).
I checked the meaning of the error messages but still can't figure it out.
I modified an simple rule according to the template section of the drools
manual: btw I use the e
I have a set of externally defined java beans that are utilized elsewhere in
the overarching application, and would like to declare these external
classes as events within drools. I am able declare these objects as events,
and compile a drools DRL file, and execute the rules. When the same DRL is
The idea is to run multiple independent sub flows. Each of the sub flows
requires approximately 2 minutes to complete, so parallel processing is
required. Once all the sub flows have completed their tasks is necessary to
collect all the results and process them. This implies that the workflow
shoul
Hi all,
I need to perform a test in the Drools Rule Engine. This test is intended to
discover the SLA for Rule Processing.
The scenario that I have is:
- My Knowledge Database will have almost 200 million records.
- There will be a full monthly charge and a short diary charge in this KD.
- T
Looks like an NPE in your rule.
Maybe maintenanceSlot or something is null.
You should raise an issue with drools-core (drools expert) that it
should give a better runtime error to show on which line it NPE'ed.
With kind regards,
Geoffrey De Smet
dweppenaar schreef:
> Hi.
>
> I am experiencin
I have everything exactly the same as you (just like in the documentation),
the only difference being the SQL for fetching the tasks. You will notice
that mine has two inner joins, and yours hasn't.
H, that makes me think, could it be something involving
org.hibernate.dialect.PostgreSQLDialec
Can you provide an isolated test case to reproduce this problem? If so,
please create a JIRA, attach your case and ping me plz.
Edson
2010/4/22 Piotr Jedrychowski
> I've downloaded last stable build (number 3845, made 2010-04-14) from
> Drools Hudson (http://hudson.jboss.org/hudson/job
can you describe a little more your use case? what are you trying to
achieve?
2010/4/21 Adeyinka Timi
> Hi,
>
>
>
> Is it possible to set some kind of RUN-ONLY-ONCE restriction on a
> sub-process in a rule flow, to avoid running this process multiple times in
> the case of a cycle in the rule-f
Hi Bertrand,
Did you see my blog posts about Drools Grid? during this weekend I will post
one presentation that I've do in Drools Boot Camp in San Diego yesterday,
where I discuss this topic for large environments.
In the meantime you can take a look at my previous blog post about this
work:
http:
I'm not sure if can be done right now... but it's a cool feature to add..
we are also thinking to add support for a flow based revision of each rule..
that allows the user define a set of stages required to a rule to be usable
and exported.
On Wed, Apr 21, 2010 at 10:41 AM, Jean-Denis Maroie wro
can you describe a little bit your use case?
I'm not sure about what you want to achieve.
2010/4/21 Pedro Maria Buitrago Mantilla
> In general, I meet that for resolve the topic of multithreading it's
> required to implement another thread over a work item.
>
> How does the asynchronic task can
client.getTasksAssignedAsPotentialOwner("Joe", "en-UK", summaryHandler);
This method used the "en-UK" for i18n reasons.. you need to set the field
content (and I'm sure right now, because that I don't have the source code
here) and the field comment to "en-UK".
2010/4/22 rudolf michael
> and the
guvnor is a web application, that's why it's not deployed there.
What are your goals exaclty? try to give us more details.
On Thu, Apr 22, 2010 at 10:27 AM, fmetral wrote:
>
> Hi all,
>
> I'd like to add a dependency in my project on drools-guvnor in version
> 5.1.0-M1.
>
> Unfortunately, for t
Have you ever thought of using maven? Your problem is no doubt with including
the transitive dependencies of the drools libraries, which maven would do for
you automatically. Here are the jars that were included automatically in a
project I compiled with drools-core, drools-compiler, drools-ap
Hi,
I use drools guvnor first version 5.1.0, but now I have to use 5.0.1.
On the PC, it has to work on, the following error is produced, when I enter
the drools webpage:
22.04.2010 14:24:03 org.apache.catalina.core.ApplicationContext log
SCHWERWIEGEND: Exception while dispatching incoming
Did you see the "en-UK" parameter in the getTasksASPotentialOwner method?
are you setting that value to the content field?
On Thu, Apr 22, 2010 at 9:16 AM, HMandic wrote:
>
> Still no resolution...
>
> I was reading through gazillion rows of log output (I've put
> log4j.logger.org.hibernate=debu
and the hibernate hql query
select
new org.drools.task.query.TaskSummary(
t.id,
names.text,
subject.text,
descriptions.text,
t.taskData.status,
t.priority,
t.taskData.skipable,
t.taskData.actualOwner,
t.taskData.createdBy,
t.taskData.createdOn,
and this is how i am listing the tasks.
try {
MinaTaskClient client = new MinaTaskClient("client 1", new
TaskClientHandler(SystemEventListenerFactory.getSystemEventListener()));
NioSocketConnector connector = new NioSocketConnector();
SocketAddress address = new InetSocketAddress("127.0.0.1",9123);
well i had your problem when i started doing some human task processing then
after i have set the Comment for the tasks, the task list worked fine for
me.
Find below my Test case logs:
Hibernate: update ProcessInstanceInfo set externalVariables=?,
lastModificationDate=?, lastReadDate=?, processId=
Hi all,
I'd like to add a dependency in my project on drools-guvnor in version
5.1.0-M1.
Unfortunately, for this version, only the pom is deployed on Jboss Maven2
repository http://repository.jboss.com/maven2. No the jar.
Would it be possible to deploy the jar. It would be very helpfull.
Thank
I am trying to migrate from Drools3 to Drools
There is one particular syntax which works in Drools3 but not in Drools5.
rule "Test Long2"
when
//Gives error in D5
m : MyLongValue(id1)
then
System.out.println("did it2:" + m);
e
Still no resolution...
I was reading through gazillion rows of log output (I've put
log4j.logger.org.hibernate=debug and
log4j.logger.org.hibernate.hql.ast.AST=debug in log4j.properties) for the
last few days, and still can't figure it out.
It has nothing to do with my human task item (I populate
Hi all again,
I still get distracted by the errors I have described in my original post.
Although my post got hijacked, I still hope for help :-) I have to add, that
I use Eclipse 3.5.1. Any idea why the IDE plugin displays these errors for
guided rules? Anything that I should check?
Regards,
B
As ever the answer is it depends on how you want to do it and where you want to
put the logic. I'm not convinced that necessarily need to use flow, instead
just use a stateful knowledge session (one per client session).
Your servlet populate it with your constraints and whatever, runs a query o
Hi.
I am experiencing the following exception:
org.drools.RuntimeDroolsException: Exception executing ReturnValue
constraint org.drools.rule.returnvaluerestrict...@a5f6c234 :
java.lang.NullPointerException.
The rule that is causing the exception to occur is the following:
rule "spreadOvertime"
I've downloaded last stable build (number 3845, made 2010-04-14) from
Drools Hudson (http://hudson.jboss.org/hudson/job/drools/). After
running my tests I got same problem (but little different StackTrace):
java.lang.ClassCastException: org.drools.core.util.ObjectHashMap
at org.drools.reteo
I've downloaded last stable build (number 3845, made 2010-04-14) from
Drools Hudson (http://hudson.jboss.org/hudson/job/drools/). After
running my tests I got same problem (but little different StackTrace):
java.lang.NullPointerException
at org.drools.reteoo.ReteooBuilder.removeRule(ReteooB
Hi,
I know a question has been asked before about drools and servlets, so I
apologise in advance. May someone please advice me on the best way of making
Drools and servlets friends in my application ;-) I want to use drools to
re-implement the servlet shown below. I have also attached the flow.
First, thank you for your answer Mauricio,
my class definition is in my first mail, so, you can already see it, here it
is:
/forum/src/main/java/workDefinitions/Workmodel.java
===
package workDefinitions;
public class Workmodel
Hello,
I am evaluating the possible use of Drools to implement a pricing engine. Until
now, I have developped my prototypes on my own computer; everything was fine.
However, if Drools is retained, it will be used in a shared environment. More
precisely, a shared platform is provided for differen
35 matches
Mail list logo