oh!
I'm so sorry... typos in XML are impossible to detect :(
Again, thank you so much for your help. I'll correct this and will use the
agenda-groups the way you suggested.
_ miguel
On Wed, May 5, 2010 at 10:01 AM, Wolfgang Laun wolfgang.l...@gmail.comwrote:
How did you specify the agenda
there is the 'extends' feature.. i guess that's what you're looking for.
rule xyz
...
end
rule abc extends xyz...
...
end
it's been recently talked about in this forum.
_ miguel
On Tue, May 4, 2010 at 10:46 AM, djb dbrownel...@hotmail.com wrote:
Hi all,
I know there are some basic ways
You can also write your rules in DRL which is much, much easier (especially
in eclipse) and then convert it to XML, like this:
public static synchronized String convertDrlToXmlRule(String drlRule)
throws DroolsParserException {
DrlParser parser = new DrlParser();
PackageDescr descr =
Olá Antonio,
// retract all of it just in case
for (Object fact : ksession.getFactHandles()) {
ksession.retract((FactHandle) fact);
}
Hope this helps.
_ miguel
2010/5/5 Antonio Neto antoniosouzan...@gmail.com
Hi,
Thank you very much for all replies.
I've tried also with not (
Hi there,
er.. why don't you remove your eval and just evaluate in the object
binding?
$var = TypeOfObject( netRepaymentAmountAbilityIncludingLiabilities = 0.65)
Other than that, i don't think a lotta people are still using drools4 and i
have no idea why that is happening. Apparently, it makes
This is not entirely true: you may have different objects in memory in such
a way that both fires rule. In this case, if you had two (or more!)
AccountHolders for the same Employment, each of those having different
BusinessName's associated, both rules (with and without the 'not') would
fire.
Oi Miguel,
when I try this in the doMove method using the workingMemory instead of
ksession I got this error
Exception in thread main java.lang.UnsupportedOperationException: this is
implementedby StatefulKnowledgeImpl
at org.drools.reteoo.ReteooWorkingMemory.getFactHandles
No idea.. that piece of code works for me, using drools 5.0.1 :-/
2010/5/6 Antonio Neto antoniosouzan...@gmail.com
Oi Miguel,
when I try this in the doMove method using the workingMemory instead of
ksession I got this error
Exception in thread main
Other than the examples shown in the docs, i don't think i can help. I'll
have to ask someone familiar with drools AND smooks.
_ miguel
On Wed, May 5, 2010 at 9:50 AM, JNaylies jerome.nayl...@sogeti.com wrote:
no one could help me?
maybe something is not clear. Please tell me what ;)
Actually, in the light of day, I see why it behaved as it did. It doesn't seem
to be caused by the AccountHolder as such, but more the Employment object - if
there are two of them, one with an accountholder and BusinessName that met the
criteria, and one without, then the rule will fire whether
Could the rules be changing the values outside of a modify block?
Please try this (untested) rule as a test.
It binds the value on the left hand side.
rule netRepaymentWithLiabilities1TEST
agenda-group autoUnderwriting
when
ea: EnrichedApplicationVersionTO(amount :
Thanks,
I did this and saw that 'amount' was 0, although netRepayment was
1.04, after looking at it a bit further I found the problem.
When I create the workspace I insert EnrichedApplicationVersion, I run
some rules from a different agenda and then I cleared the agenda
(however did not
Shai wrote:
--snip--
I then do some more things and insert the value of NetRepayment value to
the EnrichedApplication, I re insert it to the workspace and then I run
the rules.
It seems that drools did not re evaluate the EnrichedApplication again
and thus the value of NetRepayement
glad i could help.
_ miguel
2010/5/6 tom.e.mur...@wellsfargo.com
Actually, in the light of day, I see why it behaved as it did. It doesn’t
seem to be caused by the AccountHolder as such, but more the Employment
object – if there are two of them, one with an accountholder and
BusinessName
I think you need to use modify for that to happen. Otherwise, it doesn't
get re-evaluated. Or maybe it did, but you're using the no-loop /
lock-on-active attributes.
_ miguel
On Thu, May 6, 2010 at 3:51 PM, Shai Bentin s...@centimia.com wrote:
It seems that drools did not re evaluate the
Hi Ron,
Are you using the trunk version of the Drools Server project?
can you share with us the messages that you are sending to the server?
Greetings!
On Thu, May 6, 2010 at 12:15 PM, ron riley r.ri...@lse.ac.uk wrote:
Hi
I don't get any log output when I get 500s from drools-server running
Hello,
Recently I've been using Drools (version 5.0.1) to build a small sensor
monitoring application and have run into memory consumption issues that seem
to be related to logically inserted facts. The way it is set up there are
Sensor facts which carry numerically encoded flags that can signal
I am trying to execute a proof of concept. I have some code that runs a
rule. It works in Eclipse, but for some reason doesnt in Netbeans. I want
to get it working within a POJO Service Engine in Glassfish ESB and have is
execute as part of a BPEL orchestration. It does not throw an
Are you using Drools 4.x for a particular reason? I suggest you to try with
5.x
On Thu, May 6, 2010 at 2:56 PM, mikexr m...@bigfatnuthin.com wrote:
I am trying to execute a proof of concept. I have some code that runs a
rule. It works in Eclipse, but for some reason doesnt in Netbeans. I
Noe using drools 5.
On May 6, 2010 12:08 PM, salaboy [via Drools - Java Rules Engine]
ml-node+781968-2097692314-238...@n3.nabble.comml-node%2b781968-2097692314-238...@n3.nabble.com
wrote:
Are you using Drools 4.x for a particular reason? I suggest you to try with
5.x
On Thu, May 6, 2010 at
On Thu, May 6, 2010 at 8:56 PM, mikexr m...@bigfatnuthin.com wrote:
WorkingMemory workingMemory = ruleBase.newStatefulSession();
Object fact = new Object();
fact.equals(enrollment);
System.out.println(Inserting fact: + fact);
You are using the old apis,
take a look at the docs about the 5 version to update your code.
If you are working with maven, it should work on eclipse and netbeans.
I'm a netbeans user and I got all my examples running.
2010/5/6 mikexr m...@bigfatnuthin.com
Noe using drools 5.
On May 6, 2010
http://n3.nabble.com/file/n782087/drools_api.gif
no i am using the 5.0 api ( see image )
--
View this message in context:
Sorry wrong code
for (String ruleFile : rules) {
System.out.println(Loading file: + ruleFile);
builder.addPackageFromDrl(new
InputStreamReader(this.getClass().getResourceAsStream(ruleFile)));
}
Package pkg =
Hi all,
I have this simple BPMN2 flow.
http://n3.nabble.com/file/n782279/orflow.jpg
When I use a XOR Diverge Gateway exclusiveGateway everything works fine.
It also works fine for AND Diverge Gateway parallelGateway.
But when I use OR Diverge Gateway complexGateway Drools complains
that
in the editor, go to the properties panel and select the type option.
did you do that?
On Thu, May 6, 2010 at 5:26 PM, nanic23 nani...@hotmail.com wrote:
Hi all,
I have this simple BPMN2 flow.
http://n3.nabble.com/file/n782279/orflow.jpg
When I use a XOR Diverge Gateway exclusiveGateway
26 matches
Mail list logo