Re: [rules-users] How to activate/deactivate a rule.

2010-09-17 Thread Michael Anstis
Have you tried running what you have? I'd expect it to give the result you expect already (other than throwing an error because $lfna_SEI and $r_SE are not bound in the last rule and assuming chkRuleExpre is constant over time). Rules do not normally execute in any sequential order (unless you

Re: [rules-users] Drools with Spring Batch

2010-09-17 Thread Evert Penninckx
Check the drools introduction at http://downloads.jboss.com/drools/docs/5.1.1.34858.FINAL/drools-introduction/html/ch02.html#d0e63 chapter 2.1.2.2. It has a nice configuration example. -Evert -- View this message in context:

Re: [rules-users] How to activate/deactivate a rule.

2010-09-17 Thread Wolfgang Laun
I think this overly complex (unless other things have to be considered as well. As I interpret these three rules, it is required to compute the sum of all values ABC.C with equal ABC.A declare DistinctAT d_auditT : String d_sum: Double end rule create DistinctAT on first ABC when

[rules-users] Perfromance issues and memory leaks in Drools

2010-09-17 Thread Nikhil S. Kulkarni
Hi, I have written 2 different Drools programs. One is with Using rule Base of Drools 4.0 and other is using Knowledge Base of Drools 5.0. I was trying to check that is there any improvement in Drools 5.0. But I haven't got any performance improvement in Drools 5.0 code compared

Re: [rules-users] How to activate/deactivate a rule.

2010-09-17 Thread Ritesh.khot
Hi, Thanks for the reply.. --The sequential option is set to false --Using StatelessKnowledgeSession Summary what I intend to achieve, 1. In first rule, I am doing calculation on three different columns and putting it in sumOfThree property of ActualSum and inserting it in WM. Let

Re: [rules-users] How to activate/deactivate a rule.

2010-09-17 Thread Ritesh.khot
Hi, Thanks for the reply.. --The sequential option is set to false --Using StatelessKnowledgeSession Summary what I intend to achieve, 1. In first rule, I am doing calculation on three different columns and putting it in sumOfThree property of ActualSum and inserting it in WM. Let

Re: [rules-users] How to activate/deactivate a rule.

2010-09-17 Thread Michael Anstis
Am I correct in thinking you want to calculate the sum of groups of ABC.C's differentiated by ABC.A? An activation for the third rule is being created each time an ABC is inserted into WM. First with one ABC, then with two and so fourth. What you want is to ensure that processing for rules 1 and

Re: [rules-users] How to activate/deactivate a rule.

2010-09-17 Thread Ritesh
Thank you so much... earlier I tried with both as below for each rule with different salience values... but it was generating 4 exception as I mentioned in my last email. 1. agenda-group init auto-focus true no-loop true salience 10 dialect 'java' 2.

Re: [rules-users] Perfromance issues and memory leaks in Drools

2010-09-17 Thread Edson Tirelli
Nikhil, Maybe you are using the term memory leak loosely here, but otherwise, Drools 4.0.7 and Drools 5.0.1 were both tested to exhaustion for memory leaks and I can tell you that no memory leak was found, and I personally doubt there is one there on regular use. Also, FYI, Drools 5.x

[rules-users] Fwd: Early bird registration ENDS TODAY: Rules Fest 2010

2010-09-17 Thread Edson Tirelli
Hey people, I am glad to see that people are registering for the bootcamp (and the conference)! Hope to meet you all there! If you've never been to Rules Fest before (this is the 3rd year it is happening), it is the only technical, no-fluff, conference in Rules Engines and related

Re: [rules-users] Fwd: Early bird registration ENDS TODAY: Rules Fest 2010

2010-09-17 Thread Abdel Dridi
Edson, Would you please clarify what kind of exercise you guys are planing to do for the Drools Bootcamp? which level of Drools knowledge is required to attend the bootcamp? Is it worth it for people who have been using Drools for some time now? Thanks, Abde 2010/9/17 Edson Tirelli

Re: [rules-users] Fwd: Early bird registration ENDS TODAY: Rules Fest 2010

2010-09-17 Thread Mark Proctor
On 17/09/2010 19:07, Abdel Dridi wrote: Edson, Would you please clarify what kind of exercise you guys are planing to do for the Drools Bootcamp? which level of Drools knowledge is required to attend the bootcamp? Is it worth it for people who have been using Drools for some time now? The

[rules-users] Guvnor 5.1: Pencil icon not clickable in BRL editor‏

2010-09-17 Thread Scott Mayne
Hi all, I'm reading Paul Browne's JBoss Drools Business Rules and in Ch. 5 we make a BRL in the guided editor. We're using a simple fact model with a single class (Sales) which has (among others) a field sales, type long. The book uses an earlier version of Guvnor so things look

Re: [rules-users] Fwd: Early bird registration ENDS TODAY: Rules Fest 2010

2010-09-17 Thread Abdel Dridi
Thanks Mark! This will be my first Rules Fest - I appreciate your clarifications. Abdel 2010/9/17 Mark Proctor mproc...@codehaus.org On 17/09/2010 19:07, Abdel Dridi wrote: Edson, Would you please clarify what kind of exercise you guys are planing to do for the Drools Bootcamp? which

Re: [rules-users] Drools with Spring Batch

2010-09-17 Thread smogstate
I have some problems by configurating flow, here is my spring config: ?xml version=1.0 encoding=UTF-8? beans xmlns=http://www.springframework.org/schema/beans; xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; xmlns:drools=http://drools.org/schema/drools-spring;

Re: [rules-users] Fwd: Early bird registration ENDS TODAY: Rules Fest 2010

2010-09-17 Thread Edson Tirelli
Yes, basically, if you are new to Drools, you get a nice exposure to it, and if you are experienced with Drools, bring your questions/examples/etc and it will be the perfect opportunity to discuss them face to face with both the development team and other users. Although this is a short

Re: [rules-users] Guvnor Asset versioning vs Package snapshot versioning

2010-09-17 Thread Ed Lo
Thanks Abdel. I tried it, I like the idea. It will be good to have the package snapshot versions managed in Guvnor, if you have implemented this for your project I will be interested. Ed 2010/9/16 Abdel Dridi abdel.dr...@gmail.com In my case, I have three fixed target environments (DEV, UAT