[rules-users] update fact problem

2009-07-14 Thread Olaf Raether
i think i ran into this bug with drools 4.07 http://jira.jboss.com/jira/browse/JBRULES-966 Ans - as mentioned in jira the jira entry, this bug still exists ! Does anyone know if this is solved with Drools 5.0 Thanks Olaf Raether -- View this message in context:

Re: [rules-users] Comparing multiple accumulations

2009-07-14 Thread Richard Sherman
Thanks Wolfgang, Here's the extra information as requested. Firstly the When creating the email I was removing all references to rent and missed one hence RentTransaction should read Transaction. I've also noticed that the sum($value) in the third accumulation should read sum(-$value). Below

Re: [rules-users] Drools User Group Meeting - London 17th of July

2009-07-14 Thread Nicolas Héron
Hello Mark, I am member of a JUG here in Lille (http://chtijug.org/contact-equipe/) in France. It is less than 2 hours from London. Would you come during one evening session ? regards Nicolas Heron 2009/7/14 Mark Proctor mproc...@codehaus.org Up to date details can be found here:

Re: [rules-users] Validation in Guvnor fails due to unrecognized method of implemented interface

2009-07-14 Thread Brody bach
Hi Toni, thanks for the tipps and sorry for the late reply. Now I can also use 5.0.1 without problems. I did refreshing and re-importing the repository. But I still got the validation problem I mentioned in my first post (a method of interface b is recognized as method of interface a). Any

Re: [rules-users] Comparing multiple accumulations

2009-07-14 Thread Wolfgang Laun
The second accumulate has amountInPence 0 but the values in your data are all positive. Therefore,... -W 2009/7/14 Richard Sherman rsherman...@hotmail.com: Thanks Wolfgang, Here's the extra information as requested. Firstly the When creating the email I was removing all references to rent

Re: [rules-users] update fact problem

2009-07-14 Thread Olaf Raether
After upgrading to drools 5 everythink works as expected Olaf Raether -- View this message in context: http://www.nabble.com/update-fact-problem-tp24476277p24481596.html Sent from the drools - user mailing list archive at Nabble.com. ___

RE: [rules-users] Comparing multiple accumulations

2009-07-14 Thread Richard Sherman
I'm really not on form today the real data does have negatives and thus my example should have been as follows Account : accountBalanceInPence : 7 transactions : - transactionDate : 2009/07/10 amountInPence : 5 transactionCode : charge - transactionDate :

[rules-users] drools 5 custom evalautor

2009-07-14 Thread Asif Iqbal
Hi, Im new to drools and am trying to implement the following, and really need to override the evaluator '' and '' for strings... Can someone please show me how to do this? SomeClass(version 02.00.01 version 02.00.20) regards I ___ rules-users

Re: [rules-users] Comparing multiple accumulations

2009-07-14 Thread Wolfgang Laun
For simplicity's sake, I'll only consider the first example, where all transactions with amount 0 are also Type 1. Let P be the sum of the positive values and N (0) the sum of the negative values over all transactions. Then $charges = P $adjustment = 29/336*N intValue = -P - N The last

Re: [rules-users] variable binding without condition in Decision table

2009-07-14 Thread Jaroslaw Kijanowski
It should work without creating a dummy constraint, try this: CONDITION leave this row blank $serviceContract:CreditServiceContract() Cheers, Jarek Hehl, Thomas wrote: Nope, that’s how it works. I wrote it up as a defect and it got closed because no one seemed to think it was an issue. So,

Re: [rules-users] Guvnor web based decision table

2009-07-14 Thread Jaroslaw Kijanowski
Hi, Johan Kumps wrote: Hi all, I've a number of Excel based decision tables running in my applications. Now I want to use Guvner to manage these rules. Only importing the xsl files is not enough. So I have to manually convert the xsl's to a web based decision table. Why do you need to

Re: [rules-users] Guvnor web based decision table

2009-07-14 Thread James Owen
Greetings: Jarek, Mark, Edson, Wolfgang and others are far better at the specific, in-depth details in Drools than myself. However, I did notice two things that called attention to themselves in the email below: (1) Priority (or specificity) should be used, if at all, sparingly. More

[rules-users] Getting hold of the Evaluator Registry

2009-07-14 Thread Asif Iqbal
Hi, What I need to do is modify one of the evaluator classes specifically '=', so that it can handle strings. Now I know I need to create a class similar to ComparableEvaluatorDefinition. But what I want to do is replace the existing one in the evaluator registry with my implementation which

[rules-users] Default Sequential Mode Order in Decision Table

2009-07-14 Thread bhavesh devashraye
As per the JBoss Project Documentation it is clear that if we set SEQUENTIAL = true then it will going to execute rules in Top to Down order but what if we make this flag false and even not set this field at all? if  SEQUENTIAL = false. Will it confirm Bottom to Top order of execution? I have

Re: [rules-users] Getting hold of the Evaluator Registry

2009-07-14 Thread Edson Tirelli
Asif, My recommendation is create a new operator for you instead of overriding existing ones. Although if you really want to replace the existing ones, setting the property or calling the API to register a new operator will override the default. See:

Re: [rules-users] Getting hold of the Evaluator Registry

2009-07-14 Thread Edson Tirelli
I am working in one example of drools features where I implement a custom evaluator here: http://anonsvn.jboss.org/repos/labs/labs/jbossrules/contrib/lotrc/src/main/java/org/drools/examples/lotrc/evaluators/IsAdjacentToEvaluatorDefinition.java I use the configuration file instead of API in

Re: [rules-users] Default Sequential Mode Order in Decision Table

2009-07-14 Thread Mark Proctor
bhavesh devashraye wrote: As per the JBoss Project Documentation it is clear that if we set SEQUENTIAL = true then it will going to execute rules in Top to Down order but what if we make this flag false and even not set this field at all? if SEQUENTIAL = false. Will it confirm Bottom to

[rules-users] Drools Guvnor integration with MySql

2009-07-14 Thread Pardeep . Ruhil
Hi, I want to integrate the Drools Govnor with extenal Database (MySql). Can anyone help me how can i do the settings to connect to the extenal database. Thanks Regards Pardeep Ruhil LT Infotech Ltd Mumbai Ph: +919820283884 Larsen Toubro Infotech Ltd. www.Lntinfotech.com This Document is

[rules-users] role based authentication in tomcat

2009-07-14 Thread VÅM§Ï ®
Hi, I configured my guvnor in tomcat 6.0.It is working fine with out any user name validation.now i just want to create a role and give permission to that role. In the components.xml i have changed like the below configuration security:role-based-permission-resolver