[rules-users] Test Scenarion in guvnor does not give me correct results

2011-04-17 Thread navneet.singh
Hi, I have created a decision table, using drools guvnor, which has some condition columns, which is dependent on fact named "Feature", which has columns defined under "Fact Field" column in below table, and its respective values Name Data TypeFact Field

[rules-users] Searching a list - Is Drools the answer?

2011-04-17 Thread Drools User
I have been using Drools for several years, but just with constraints (rules) on 1 set of objects at a time. Think many rules, few facts in a stateless session. I have been given a new project at the office which requires having about 10-100k facts and few rules. These 10k facts would be basically

Re: [rules-users] Drools server and knowledge agent functionality

2011-04-17 Thread Esteban Aliverti
Yes, your approach is also ok. I was about to create the servlet I have mentioned. Now I'm wondering which one is the best approach. About reloading rules with declared types, yes, there is a known issue. They are added multiple times in the classloader leading to ClassCastExceptions. We are workin

Re: [rules-users] Drools server and knowledge agent functionality

2011-04-17 Thread HALL, Ross
Correction - should have been "new-instance=false" will throw an error. From: rules-users-boun...@lists.jboss.org [mailto:rules-users-boun...@lists.jboss.org] On Behalf Of HALL, Ross Sent: Monday, 18 April 2011 6:51 AM To: 'Rules Users List' Subject: Re: [rules-users] Drools server and knowledge

Re: [rules-users] Drools server and knowledge agent functionality

2011-04-17 Thread HALL, Ross
Hi Esteban, To start up the notifier and scanner service I modified the Drools-Server ResourceChangeScannerBeanFactory as documented in this post: http://drools.46999.n3.nabble.com/drools-server-resource-change-scanner-notifier-td2649325.html I'm just wondering whether this is the right approac

Re: [rules-users] Double Referencing

2011-04-17 Thread Michael Anstis
Have a read about nested accessors in Expert's documentation. You should be able to achieve this using the MVEL dialect for your rule:- when Person( dob.year > 1972 ) ... The "then" part of a rule is either pure Java or MVEL and consequentially provided your RHS is valid syntax for which

Re: [rules-users] Double Referencing

2011-04-17 Thread Guy Moas
Hi, I've the problem in both When and Then. Is it possible to define such a reference with Guvnor? Thank you Guy From: rules-users-boun...@lists.jboss.org [mailto:rules-users-boun...@lists.jboss.org] On Behalf Of Michael Anstis Sent: Sunday, April 17, 2011 10:50 PM To: Rules Use

Re: [rules-users] Double Referencing

2011-04-17 Thread Michael Anstis
I don't understand your question. Sorry. Are you having problems with the example you show in the "when" part of a rule, the "then" part or something else? What type of examples were you wanting to receive? Cheers, Mike 2011/4/17 Guy Moas > Hi, > > > > Could you please assist me whether I c

[rules-users] Double Referencing

2011-04-17 Thread Guy Moas
Hi, Could you please assist me whether I can double referencing issues Person.GetDOB().GetYear(); with Drools (Java, Guvnor) Please try to send an exmaple Many thanks, Regards, Guy Moas - Technical Project Manager tel: +972 (73) 2608276 | mobile: +97

[rules-users] Drools Decision Table

2011-04-17 Thread Riyaz Saiyed
Hi, I'm doing a POC on drools decision table. We need to develope pricing engine for few of our products. I created xls with list of products and their price as per drools format. When I load xls and run the rules, the price were picked up correctly against mathing product, customer and quantit