You wouldn't be able to execute a query after the return of execute()
from a stateless knowledge session.
Consider writing a low-salience rule that fires for the conditions you'd
use in the query and add the matching facts to a global List, or insert
a single fact prepared to collect these facts i
I tried this with no success. Any thought on how to resolve this? I have
a package defined in Guvnor and referenced in my change set. I can set
it up and fire all rules but I need a way to get the results out of my
stateless knowledge session. Any thoughts? David
David R Robison
Open Roads Cons
Without being able to define a query, how can I retrieve data from the
session? David
David R Robison
Open Roads Consulting, Inc.
103 Watson Road, Chesapeake, VA 23320
phone: (757) 546-3401
e-mail: drrobi...@openroadsconsulting.com
web: http://openroadsconsulting.com
blog: http://therobe.blogspot
There isn't an explicit editor for this - there's a JIRA for it, but I
forget the number.
You might be able to work around it by either modifying the drools.package
asset or adding a query definition in the advanced view of the package
imports or global settings. All are added to the package DRL a
Hi All,
I have a PlanningEntity that has several planning variables, say A and
B. Now, if A is O then B can be X or Y and when A is P then B can be Y or Z.
I see two routes:
* create a solution property that generates X, Y and Z as alternatives
for B and rely on the score rules to dismiss
Is there a way to create a Query in Guvnor? I am using 5.4.0. Thanks, David
--
David R Robison
Open Roads Consulting, Inc.
103 Watson Road, Chesapeake, VA 23320
phone: (757) 546-3401
e-mail: drrobi...@openroadsconsulting.com
web: http://openroadsconsulting.com
blog: http://therobe.blogspot.com
b
On 11 December 2012 19:20, ping wrote:
> Thank you. You are right the locks are guarding the session creation.
> I will try stateful session with fact retracting.
> I was using stateless session because the rules I'm going to deploy are all
> simple rules without much inference.
> So another ques
Thanks very much for this detailled anbwser.
this helps me much.
I am currently playing with Drools, and trying to build rules in Java from
my own Rule objects, with the help of the lang.api.
Here are some comments in the flow of your anwsers
>
> > The optimizer takes as input (among others) a l
Thank you for the advice. That's a good solution if we choose to deploy the
rule engines as standalone services.
We are also evaluating deploy the rule engine as a embedded component in
legacy applications. In this case they have to be in the same JVM.
-Ping
--
View this message in context:
ht
Thank you. You are right the locks are guarding the session creation.
I will try stateful session with fact retracting.
I was using stateless session because the rules I'm going to deploy are all
simple rules without much inference.
So another question is: to make the multi-threading efficient, I n
Hi Planner users,
I need your help :)
Lately, several people have been asking me for public testimonials for
Drools Planner.
So if you're a Planner user, would like to say a few words about it by
responding to this mail?
Say what you want.
It's extra nice if you can mention the benefits, proje
I read this in some oracle forum:
"You may want to check if your updating the HashMap concurrently. If you are
then the HashMap can get internally corrupt (The items in one bucket can get
a circular linked reference) and result in a infinite loop upon calling
get(). If this is the case use Con
*Drools 5.4.0.Final*
Im running a *query* against Drools
It is running for many hours and doesnt seem to return.
This happens in 5% on production. Probably some race problem?
...
query "distributeForMove" (long pSpmaId)
$spma: SubPlanningMatrixOpt ( ..., spmaId == pSpmaId, ...)
...
On 11/12/2012, Mauricio Salatino wrote:
> You can also split your application in multiple processes to use multiple
> JVMs. if you have 8 threads it can be divided into starting two apps with 4
> threads each. If you are working with Stateless session that shouldn't be a
> problem.
Except for sha
14 matches
Mail list logo