2009/11/11 Mark Proctor :
> Wolfgang Laun wrote:
>
> And, perhaps, think about adding (relatively) simple things like
> permitting, in DRL
>import static ...;
>
> you can already do this, but we call it import function. We just haven't
> done the mapping to allow functions to be imported from d
Wolfgang Laun wrote:
2009/11/11 Mark Proctor :
Wolfgang Laun wrote:
2009/11/10 Mark Proctor :
Wolfgang Laun wrote:
It is, however, very desirable to be able to write LHS in a more
structured way, not being forced to either repeat CEs or create
additional facts establishing secondary prope
2009/11/11 Mark Proctor :
> Wolfgang Laun wrote:
>
> 2009/11/10 Mark Proctor :
>
>
> Wolfgang Laun wrote:
>
> It is, however, very desirable to be able to write LHS in a more
> structured way, not being forced to either repeat CEs or create
> additional facts establishing secondary properties (such
Wolfgang Laun wrote:
2009/11/10 Mark Proctor :
Wolfgang Laun wrote:
It is, however, very desirable to be able to write LHS in a more
structured way, not being forced to either repeat CEs or create
additional facts establishing secondary properties (such as isAdult).
property ( ){ }
2009/11/10 Mark Proctor :
> Wolfgang Laun wrote:
>
> It is, however, very desirable to be able to write LHS in a more
> structured way, not being forced to either repeat CEs or create
> additional facts establishing secondary properties (such as isAdult).
>
> property ( ){ }
>
> and use this
Hi Lucas,
Thanks for your replay. And one more question I have is,
Can we have access to TimesTen or any other in-memory databases so
that no need to load WorkingMemoryEntryPoints with all the objects?
Is there any way to load objects into WorkingMemoryEntryPoint
Hello-
We are writing rules against complex objects (derived from XML) that contain
nested arrays, notionally like this:
Record {
Detail[] recordDetails;
}
Detail {
Activity[] yearlyActivity;
}
Activity {
int year;
}
Is it really true that I must use a "from" clause to navigate the hier
To make myself clear, here is the difference I copy and paste in a picture.
- Original Message
From: Jane James
To: Rules Users List
Sent: Tue, November 10, 2009 5:30:25 PM
Subject: [rules-users] Guvnor 5.1.0M1 bug?
I downloaded the Guvnor 5.1.0M1 version, but then I found out I foun
I downloaded the Guvnor 5.1.0M1 version, but then I found out I found out I
can't add more than one condition to it now. there used to be a little bracket
between two conditions but now it's gone. Is it a bug or it's a feature? How am
I supposed to say startDate > 11/11/2009 and start date < 11/
Thx!
--
View this message in context:
http://old.nabble.com/rule-help-tp26245649p26292767.html
Sent from the drools - user mailing list archive at Nabble.com.
___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/lis
Thank you kris,
Removing persistance-api.jar from the gwt-console-server-drools.war helped
to remove the error. Now I'm able to view the process on web-console.
However, when I'm clicking on Start under Process Instances, the following
error occurs. Can you please suggest how can I solve this. I'
I am using Drools-core.jar(version-5.0.0.CR1) and getting the following
exception. I could see similar stacktrace reported with
JIRA-1888(https://jira.jboss.org/jira/browse/JBRULES-1888) and its marked as
closed. Fix related to this Jira is not available (Rete.java) in the Drools
5.0.1 and 5.1.0
create declared types and then use a transformation tool to marshal
those maps into the internal type declarations. You can look at the
pipeline's jaxb and xstream for examples of how this works.
Mark
Leonardo Gomes wrote:
> Hello,
>
> I'm feeding my working memory with Maps (unfortunately, this
Wolfgang Laun wrote:
Leo's reply reads:
"In this scenario, aren't we moving logic that would be better
expressed in a declarative form (drl) to facts that are coded in
java?"
I don't think this is an issue. Extracting a fact's property derived
from one or more constraints being true as an additi
Leonardo Gomes wrote:
I think I missed something on that post. Just posted a reply.
Cheers,
Leo.
"In this scenario, aren't we moving logic that would be better expressed
in a declarative form (drl) to facts that are coded in java?"
That facts are coded in java is incidental there use is st
The basic behaviour of the engine is to re-evaluate all rules where a
new, updated or deleted fact is referenced via its (sub)class or some
interface name. If the LHS is true, the rule is fired.
To insert a complex fact requiring setter calls, make sure to do the
insert() after all the settings.
Hi,
the best way is use DSL because isn't possible create "complex" rules
with the guided editor
El 10/11/2009, a las 06:33, bas karan escribió:
Hi,
I am new to Drools rules. Can any one of you tell me how can
we write complex rules like below using Grided editor.
rule sequenceO
Man... you made my day!
Such a Dumb! Thats true, first is inserted the Task and after that the Param is
added. Im wondering if I update the fact, all the rules fired before updating
it would fire again? Or just the rules which conditions are changed?
I guess:
R1
When
T
T.X
Then
...
There are a couple of scenarios that might produce this effect:
One is:
// session is running !
Task t = new Task();
session.insert ( t );
t.getTechnicalParams().add(...)
Can you exclude this or a similar scenario, where Parameters are added
to an existing Task() fact, without update() of the
Leo's reply reads:
"In this scenario, aren't we moving logic that would be better
expressed in a declarative form (drl) to facts that are coded in
java?"
I don't think this is an issue. Extracting a fact's property derived
from one or more constraints being true as an additional fact isn't
doing w
Leonardo Gomes wrote:
> Regarding the problem with dates, even when using java beans, what
> options would I have other than accepting the limitations of that
> syntax sugar or to provide a static method, casting and converting
> arguments, returning a boolean, and call this using an inline eval.
I
I think I missed something on that post. Just posted a reply.
Cheers,
Leo.
On Tue, Nov 10, 2009 at 3:05 AM, Mark Proctor wrote:
> Just published this, where I'm trying to explain good rule design in
> terms more familiar to software developers.
> http://blog.athico.com/2009/11/what-is-inference-
Kris,
Many thanks for your continued help. I updated to the latest trunk, and
replaced my milestone node with a state node as suggested, and the process
instance completed as required.
Two things I noticed:
1. The state node isn't currently available in the palette of the Eclipse
plug-in grap
Hi Edson, Salaboy,
Just to explain what I meant in my previous mail... This is wat we are
doin...
We are inserting a EligibleAlert in one of the rules like this.This is a
seperate drl file.. I tried declaring EligibleAlert as an event in this
.drl file.
rule "process pending sympathetic alert"
Hi,
I am new to Drools rules. Can any one of you tell me how can we write
complex rules like below using Grided editor.
rule sequenceOfIncreasingWithdrawals
when
$account:Account($number : number)
$t1:TransactionCreatedEvent(fromAccountNumber == $number)
from entry-point
Hi Kris,
Thanks for your reply.
This problem was solved. It was because I was not completing the workItem
using the kession object. Because of that I was getting NPE in
JPAWorkItemManager.java
After that when I made changes to my code I got the same exception but
this time it is in MarshallerRe
Thanks for answering,
Further detail:
The actual output is the rule is fired (ie, the param is not found) and then
the param is printed out. So, in fact, the param does exists.
The Task is created as usual, nothing special here (insert (new Task...)
Code fragment from Task.java:
public Str
Hello,
I have a project, that uses Drools 5.0.1. I have a class, called
RuleFlowProcessor, that's used to apply some of my rules to the objects.
The instances of RuleFlowProcessor with the identical configuration should be
used by different threads, and i use following mechanism:
I initialize on
28 matches
Mail list logo