Christiano,
Take a look at
http://hudson.jboss.org/hudson/job/drools/lastSuccessfulBuild/artifact/trunk/target/docs/drools-flow/html/ch09.html
for more information about human tasks and swimlanes in general.
So a swimlane can be used to assign human tasks to the same actor. Actors are
Steve,
If you have access to the process instance, you can access the variables like
this:
processInstance.getContextInstance(VariableScope.VARIABLE_SCOPE).getVariable(variableName);
You can of course hide this behind a function or java util method if you want
to hide the details.
Kris
k...@chryslerfinancial.com wrote:
Our application is stuck with Websphere 6/jdk 1.4. I want to use
Guvnor for our rule management as we have business users editing
rules. Would it be possible to use drools 4.0.7 compiler in the
application which would read the rules from guvnor as source
Alberto Cabas Vidani wrote:
I read the information available about drools 5, but support to
backward chaining is never mentioned. Since in the documentation of
Drools 4 it's said that it will be supported in the next major release
I'm wondering wether it will be present in release 5. Does
Cristiano Gavião wrote:
Hi,
Im trying to query the human tasks that was created and persisted by
the MinaServer.
Looking at junit tests I could see that for that job I should use
MinaTaskClient.getTasksAssignedAsPotentialOwner(Darth Vader,
en-UK, responseHandler) or other methods like this
You can decide yourself how to respond to the result. So yes, you can just
implement your own handler. The blocking response handler is made for testing
purposes mostly: when you ask it for the results, it will wait until those
arrive or will throw an exception if it needed to wait too long.
Hello,
Please help me to implement following rule in drool. I could not find a way
to iterate two collection using accumulate or collect in LHS.
public Male{
int age;
//other fields
}
public Female{
int age;
//other fields
}
public City{
private ListMale maleList;
private
Do you know the concept of sliding time windows? Meaning you define a
time interval, for instance the last 30 seconds, so at time T30, the window
contains anything that happened between T1 and T30. At T31, it forgets
anything that happened on T1 and the window now contains everything from T2
to
You should really insert your males and females into your working memory
instead of having them as nested lists only. Anyway:
rule unlucky male
where
$c : City()
$m : Male( $age : age ) from $c.maleList
not( Female( age ==$age ) from $c.femaleList )
then
// $m is unlucky, no
I hope you will not be interrupted by too many postings
but -sorry- what is the result of
StockTick( symbol == RHAT ) over window:time( 1h30m15s )
?
a) all StockTick Entities which has symbol RHAT at some point during
the time period? In other words: are StockTicks included where symbol
Hi All ,
I have a Object which contains *n *number or different object basically a
graph of object , Now if i have a rules on nested object do i need to insert
each object separately for rule execution or is there a way drools engine
can recognize the object graph and fire rules to corresponding
Anyone had any experience in migrating from yasu quick rules to Drools,
particularly interested in how you migrated yasu rules and the contents
of their rule repository.
Mark
___
rules-users mailing list
rules-users@lists.jboss.org
Can you please provide some example.
Regards,
Ashish
dave sinclair wrote:
I have written an article on this that will be posted on the drools site
shortly.
On Mon, Feb 2, 2009 at 4:22 PM, Ashish Soni learnspr...@gmail.com wrote:
Hi All ,
I have a Object which contains *n *number or
Femke,
That error occurs when you are trying to execute the Human Task node. In you
human task node, you probably have a mapping from the patient variable to a
parameter of the human task (either by mapping the variable directly using the
in-mappings property or by using #{patient} inside one
I am new to Drools. Are there any documents that detail the upgrade from
2.1 to 3.0 or to 4.0.7? In the 4.0.7 documents, there are good
descriptions of upgrading from 3.0 to 4.0.7 and also many examples. Is
there any examples that use org.drools.decisiontable.parser.xls?
Thanks,
Hong
Hi ,
Can some one please suggest.
Thanks,
Ashish
learndrools wrote:
Hi All ,
I am not sure if below structure is supported in Drools 5 or Guvnor or is
there is any way we can achieve this -
We want to create packages structure like below under the packages panel ,
as of now every
Cristiano,
The errors do seem to indicate that the collection expression and variable
name are empty. This in combination with your layout problem seems to
indicate to me that there is an issue when trying to save or load the
underlying XML. Could you open a JIRA and attach the ruleflow
Edson,
I'm very interested in fusion. I'm looking at it using it for fraud
detection in a credit card authorization system.
Quick question - can the time of facts be asserted? I'm thinking around how
to handle testing, and business requirements of batch authorizations. (where
3rd parties send
Drools has no native understanding of SAX or DOM. But if using JAXB or
something doesn't suffice there is also the SXC project which is quite nice.
http://sxc.codehaus.org/
Mark
Anstis, Michael (M.) wrote:
I am not sure on what you are trying to achieve.
Drools is a Rule Engine and not a
There are two concepts that need to be understood here: SessionClock and
type declaration.
SessionClock is the clock of the session. You can use a realtime clock
for your session, or any other session clock implementation. At this moment
we only provide a realtime one, and a PseudoClock
Thanks Edson.
Is there way to find City() where if least one unlucky male is found using
current object structure.
Edson Tirelli-3 wrote:
You should really insert your males and females into your working
memory
instead of having them as nested lists only. Anyway:
rule unlucky male
Since Drools language is FOL equivalent, any FOL logic expression can be
represented.
rule city has unlucky males
where
$c : City()
exists( $m : Male( $age : age ) from $c.maleList and
not( Female( age ==$age ) from $c.femaleList ) )
then
// $c has unlucky
Hi Hong,
you can jump on Drools 5.0 ,there you can find some good
example of org.drools.decisiontable.ExternalSpreadsheetCompiler
...which read the data from XLS file .
Regards
Ankit
From: rules-users-boun...@lists.jboss.org
Hi Ashish,
Yes drools 4 very much supports nested object structures. you can insert the
root object in the WM and use 'from' in your rules to access the nested
objects.
Regards,
sudhir.
On Tue, Feb 3, 2009 at 2:52 AM, Ashish Soni learnspr...@gmail.com wrote:
Hi All ,
I have a Object which
Hi ALL,
We are using drools 4.0.7 for one of our projects. We encountered some
issues which I thought are strange.
1. When using FORALL on an entity for which we haven't asserted any of the
instances in the working memory the rule always fires. I thought this rule
should be evaluted to true only
25 matches
Mail list logo