Hey people,
To achieve a list of short term goals related to Drools, I am
implementing a fairly interesting new example using as many features from
the Drools 5 platform as I see fit. Among other things, this example will
serve as a basis for a few tutorials on the engine capabilities that I
starsavari wrote:
>
> We are considering drool rule engine for data profiling (run the data
> through the various regex pattern for data analysis) on a large amount of
> data. We have rules to determine the SSN, Phone number, Driver license
> number, tracking number etc. Most of our rules are re
Hello all:
Please find at http://pastebin.com/m3480a28c
1) a very simple rule
2) the object model
3) the object inserted via json
4) the output from the engine
5) the output from the logs
I cannot understand why
1) this rule would fire twice
2) why the rule engine adds the "income" attribute to t
Ed,
Thanks for the feedback. That's pretty much the conclusion I have come
to..I will double check the higher priority reference, that sounds possible
because we are using Ivy for dependencies with many package dependencies..
Thanks very much for the insights.
Chris
_
Fro
Chris,
There must be a problem with the classpath. That message only shows up
when the antlr-runtime jar is not in the classpath.
java.lang.NoClassDefFoundError: org/antlr/runtime/tree/TreeNodeStream
Also, I successfully run examples from command line, outside of eclipse,
so it is unli
Marcus,
I only have the one version of antlr jar that comes in the /lib folder of
the drools 5.0 binary distribution, however that was enough to allow me to
run the stockticker fusion sample in eclipse no problem. I ported the
project to Netbeans and am relying on all of the same jars from that b
Thanks to Travis Scheponik for trying to help me resolve this. However, neither
he nor I could figure it out.
Babak solved it here at the boot camp - the subprocesses should have their end
nodes with terminate set to TRUE not false, and the parent process should
invoke the subprocess with WaitFo
In order to keep the rules cleaner and easier to maintain, I prefer to
hide the details of the database loading (query, etc) behind a helper method
with a clear contract. But up to you.
[]s
Edson
2009/6/2 Bhushan Bhangale
> Thanks Edson
>
>
>
> I read about “from” CE and understand th
It works, but it is not idea, because drools cannot index the constraints
used inside an eval. If you are testing for equals, better to use regular
constraints.
[]s
Edson
2009/6/2 Nagaraju runkana
> Try like this..it's working fine.
>
> $c :CashMemoDtl(articleCode:articleCode)
> eval($
HI all
I want to applay filter codition on a list , that was generated in d
rules .For example first statement applay one filter condtion on one entity
list, then I want to filter the result . is it possible in drools ?
thanks and regards
___
rules-use
Try like this..it's working fine.
$c :CashMemoDtl(articleCode:articleCode)
eval($c.getArticleCode().equals( "Laptop") && $c.getArticleCode().equals(
"Mouse") )
Thanks,
-Manya
2009/6/1 Armaghan Mahmud
> Hey guys,
>
> I read in a previous post that == in Drools 4.0.7 maps to .equals()
> autom
2009/6/2 Chris Richmond :
> Hello,
>
>
>
> I am using netbeans and ivy with Drools 5. I have successfully named,
> published the jars from drools to and could build my port of the stock
> ticker application in netbeans, but when I try to run it, I get the
> following error:
>
>
>
>
>
> java.lang.N
12 matches
Mail list logo