[rules-users] (no subject)

2018-06-24 Thread Mike Reynolds
http://term.minimalminimall.com Mike Reynolds ___ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users

[rules-users] (no subject)

2018-05-29 Thread bobby nick
http://project.peterazen.com Bobby Nick ___ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users

[rules-users] (no subject)

2018-05-26 Thread tim arnold
http://wow.jxchsoft.com Tim Arnold ___ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users

[rules-users] (no subject)

2014-07-28 Thread Venkata Ramana Reddy Avula
Hi, I am implementing rules engine into my project, I have been referring the many technical resources about jboss drools. I did implement some set of rules which are much more needed for my project. All of a sudden after I placed all the rules in the spreadsheet(.xls) file, and executed it,

[rules-users] (no subject)

2014-06-24 Thread Konstantinos Souvatzopoulos
kons...@gmail.com ___ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users

[rules-users] (no subject)

2014-03-17 Thread Sandhya Sree
hi, i have the following rule file : rule size when $p: RuleContext($size: getOldContext().getParent().getUsableSpace() (30*1024*1024)) then Event event = new Event(folder almost full, $p.getOldContext().getParent(), new Date()); event.display(); end im loading this rule file and

Re: [rules-users] (no subject)

2014-03-17 Thread Michael Anstis
Assuming Event has a field called context (which is set by the constructor you use in your RHS):- when $p: RuleContext($size: getOldContext().getParent().getUsableSpace() (30*1024*1024)) * not Event( context == $p.getOldContext().getParent());* then Event event = new Event(folder almost

Re: [rules-users] (no subject)

2014-03-17 Thread Sandhya Sree
no...Event doesnot have context field On Mon, Mar 17, 2014 at 3:07 PM, Michael Anstis michael.ans...@gmail.comwrote: Assuming Event has a field called context (which is set by the constructor you use in your RHS):- when $p: RuleContext($size: getOldContext().getParent().getUsableSpace()

Re: [rules-users] (no subject)

2014-03-17 Thread Michael Anstis
What field do you set in the constructor then? new Event(folder almost full,* $p.getOldContext().getParent()*, new Date()); Whatever field this is you should check in the LHS with the not Event() - this ensures the rule only activates if there isn't an Event already for the RuleContext. On

Re: [rules-users] (no subject)

2014-03-17 Thread Sandhya Sree
yeah.. i understood what u meant.. i tried it.. but still problem is not solved.. the Event object is created everytime On Mon, Mar 17, 2014 at 3:11 PM, Sandhya Sree sandhyachinna...@gmail.comwrote: no...Event doesnot have context field On Mon, Mar 17, 2014 at 3:07 PM, Michael Anstis

Re: [rules-users] (no subject)

2014-03-17 Thread Wolfgang Laun
Above all, realize that only facts *insert*-ed into Working Memory can be taken into account by rules. So, first thing, insert the Event in rule size. Then you can, basically, write a rule like this: rule size when $p: RuleContext($size: getOldContext().getParent().getUsableSpace()

Re: [rules-users] (no subject)

2014-03-10 Thread Mauricio Salatino
Can you please elaborate about why do you want to do that? what's the point of having a list inside of the Event class that will contain the same event? The Then side of the rule is pure java.. so you just do event.getEvents().add(event); but I don't see the point of doing that. Regards On

Re: [rules-users] (no subject)

2014-03-10 Thread Sandhya Sree
Actually, il have to use this ListEvent in another class and then print listEvent after every rule execution cycle. On Mon, Mar 10, 2014 at 4:05 PM, Mauricio Salatino sala...@gmail.comwrote: Can you please elaborate about why do you want to do that? what's the point of having a list inside of

Re: [rules-users] (no subject)

2014-03-10 Thread Wolfgang Laun
Seeing that the list is static you can use the usual way for accessing a static class member: Event.listOfEvent.add( ... ); @Mauricio: It's not unusual to maintain a static collection (even though there may be better ways, esp. with Drools). On 10/03/2014, Mauricio Salatino

Re: [rules-users] (no subject)

2014-03-10 Thread Sandhya Sree
im getting the following error on doing that Exception in thread pool-2-thread-1 Exception executing consequence for rule size in com.net: java.lang.NullPointerException what might be the problem? On Mon, Mar 10, 2014 at 4:16 PM, Wolfgang Laun wolfgang.l...@gmail.comwrote: Seeing that the

Re: [rules-users] (no subject)

2014-03-10 Thread Mauricio Salatino
Please copy the entire stack trace.. what you have copied doesn't mean anything besides that there is something wrong. On Mon, Mar 10, 2014 at 1:29 PM, Sandhya Sree sandhyachinna...@gmail.comwrote: im getting the following error on doing that Exception in thread pool-2-thread-1 Exception

Re: [rules-users] (no subject)

2014-03-10 Thread Sandhya Sree
Exception in thread pool-2-thread-1 Exception executing consequence for rule size in com.net: java.lang.NullPointerException at org.drools.runtime.rule.impl.DefaultConsequenceExceptionHandler.handleException(DefaultConsequenceExceptionHandler.java:39) at

Re: [rules-users] (no subject)

2014-03-10 Thread Mauricio Salatino
If the list inside Event has never being initialised it will throw a null point exception.. so you need to make sure that the list is initialised properly. Regards On Mon, Mar 10, 2014 at 1:43 PM, Sandhya Sree sandhyachinna...@gmail.comwrote: Exception in thread pool-2-thread-1 Exception

Re: [rules-users] (no subject)

2014-03-10 Thread Sandhya Sree
Thanks :) i got it :-) On Mon, Mar 10, 2014 at 7:18 PM, Mauricio Salatino sala...@gmail.comwrote: If the list inside Event has never being initialised it will throw a null point exception.. so you need to make sure that the list is initialised properly. Regards On Mon, Mar 10, 2014 at

Re: [rules-users] (no subject)

2014-03-10 Thread Wolfgang Laun
Initializing references to objects is always a good idea to avoid NPE. -W On 10/03/2014, Sandhya Sree sandhyachinna...@gmail.com wrote: im getting the following error on doing that Exception in thread pool-2-thread-1 Exception executing consequence for rule size in com.net:

[rules-users] (no subject)

2013-07-21 Thread Markus Undhagen
you have a new private message from close friendCLICK HERE TO SHOW EMAIL ___ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users

[rules-users] (no subject)

2012-12-14 Thread jagaran das
http://trespassagain.com/CISTERCIAN_WILDERNESS/_notes/q5tcdl4x.php___ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users

[rules-users] (no subject)

2012-09-08 Thread Wolfgang Laun
Scenario: 5.3.0, STREAM, fireUntilHalt() run in separate thread, AlertEvent events inserted every 1 or two seconds. The following rules should retract ClusterLink facts referencing the AlertCluster that is selected by the DissolveCluster fact. As soon as there is no such ClusterLink any more, the

[rules-users] (no subject)

2012-06-27 Thread Manikandan Subramanian
-- Thanks, Mani ___ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users

[rules-users] (no subject)

2012-06-13 Thread David Wynter
http://root256.com/wordpress/wp-content/themes/default/googlemail.html___ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users

[rules-users] (no subject)

2012-03-09 Thread Christabelle Galea
g.christabe...@gmail.com ___ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users

[rules-users] (no subject)

2012-02-24 Thread youssef azbakh
Hello every body ! I'm a new drools Fusion user, And I'm now facing a real problem which is that my events attriutes values doesn't go to starttimestam and endtimestamp, I explain : when declaring a new event declare Evenement @role(event) @startimestamp(attr1) @endtimestamp(attr2)

Re: [rules-users] (no subject)

2012-02-24 Thread Wolfgang Laun
If you look at the implementation of EventFactHandle.getEndTimestamp (not ...eSt...) you'll see why: it returns startTimestamp + duration. You should *not* use methods that aren't in the stable part of the Drools API. Also, the documentation does not tell you that you can map event attributes

Re: [rules-users] (no subject)

2012-02-24 Thread Hassan
-users-no-subject-tp3772684p3773092.html Sent from the Drools: User forum mailing list archive at Nabble.com. ___ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users

[rules-users] (no subject)

2012-02-13 Thread Alberto R. Galdo
According to the documentation: Rule constraints do not have direct access to variables defined inside the process. It is however possible to refer to the current process instance inside a rule constraint, by adding the process instance to the Working Memory and matching for the process

Re: [rules-users] (no subject)

2012-02-13 Thread Esteban Aliverti
I had some tests working fine in jbpm 5.1 but failing in 5.3 because of this same reason. I'm not sure if this is this is a regression bug or if there is a deliberated change in the behavior. Maybe someone in the jbpm dev team can shed some light here. Best Regards,

Re: [rules-users] (no subject)

2012-02-13 Thread Alberto R. Galdo
We're using 5.2.0 final here. What we are also observing is that whenever a process instance reaches a businessruletask node the rule gets fired a number of times equal to the number of instantiated processes even if any of those processes didn't reach the bussinessruletask node. Does this means

Re: [rules-users] (no subject)

2012-02-13 Thread Esteban Aliverti
The behavior you described is how it is working in 5.3 (and it seems 5.2 too). The rule is fired once per process instance you have in your working memory no matter if the others instances are, are not yet or even has already been in that Rule Task Node. Again, I'm not sure if this is a

[rules-users] (no subject)

2011-12-13 Thread Vladi Feigin
___ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users

Re: [rules-users] (no subject)

2011-09-16 Thread Michael Anstis
Unit Test (droolsjbpm-ide-common) org.drools.ide.common.server.util.BRLPersistenceTest.testRoundTrip() performs what you are attempting too. This test passes. I am still uncertain why you reference org.drools.brms packages in your import statements. What version of Drools are you using?

Re: [rules-users] (no subject)

2011-09-16 Thread AZZAZ mohamed
I use version drools-core5.2.0 and drools-compiler 5.2.0 In fact I created my business rules with the guided rule . it generates automatically a. Brl. I want to convert it to .drl me to build my package builder. Paris ___ rules-users mailing list

Re: [rules-users] (no subject)

2011-09-16 Thread Swindells, Thomas
Of AZZAZ mohamed Sent: 16 September 2011 10:12 To: Rules Users List Subject: Re: [rules-users] (no subject) I use version drools-core5.2.0 and drools-compiler 5.2.0 In fact I created my business rules with the guided rule . it generates automatically a. Brl. I want to convert it to .drl me

Re: [rules-users] (no subject)

2011-09-16 Thread Michael Anstis
What JARs are you using then? We don't have a class org.drools.brms.server.util.BRDRLPersistence only org.drools.ide.common.server.util.BRDRLPersistence in droolsjbpm-ide-common-5.2.0.Final.jar 2011/9/16 AZZAZ mohamed azz...@gmail.com I use version drools-core5.2.0 and drools-compiler 5.2.0

Re: [rules-users] (no subject)

2011-09-16 Thread AZZAZ mohamed
I use org.drools.brms.server.util.BRDRLPersistence; I'm confused that's two days that I blocked, especially since I'm new in BRMS. So if you have a more accurate method to start I would be grateful ___ rules-users mailing list

Re: [rules-users] (no subject)

2011-09-16 Thread Michael Anstis
OK, let's step back a bit. What are you trying to achieve? Do you *want* the DRL text, or do you want to load a BRL rule? Where did you get the BRL rule from, normally rules are authored in DRL (in which case you'd use KnowledgeBuilder, as in all the examples) or in Guvnor (in which case using

Re: [rules-users] (no subject)

2011-09-16 Thread AZZAZ mohamed
My mini project I try to express business rules using the resources of java object. that's why I encode two classex Car and Driver and I apply a business rule to see if it can besecured like this (example): if the driver's age 25 and the make of car! = BMW then will not be provided I use to

Re: [rules-users] (no subject)

2011-09-16 Thread Michael Anstis
Support for the BRL editor in Eclipse was dropped as from 5.2.0, so I assume you are not using the Eclipse Plugin for 5.2 - in which case backward compatibility cannot be guaranteed. See the release notes for details. The WebDav interface in Eclipse is probably most suitable for your needs. You

Re: [rules-users] (no subject)

2011-09-16 Thread AZZAZ mohamed
Hi, i have this exception every time i'm used drools 5.2 final wiht jdk 1.6, eclipse 3.4. I configured correctly the classpath. java.lang.RuntimeException: org.drools.compiler.DroolsParserException: java.lang.IllegalArgumentException: Unable to instantiate service for Class

[rules-users] (no subject)

2011-09-15 Thread AZZAZ mohamed
Hi, I want to convert my file. brl to file. drl. I have this exception. does anyone has an idea (solution) thank you in advance Caused by: com.thoughtworks.xstream.converters.ConversionException: metadataList : metadataList : metadataList : metadataList Debugging information message

Re: [rules-users] (no subject)

2011-09-15 Thread Michael Anstis
Was your BRL generated from the same version of Guvnor as you are trying to de-serialise? The XStream error you show normally happens when there has been a change to the Object model from which the XML was created and the model to which you are trying to hydrate. 2011/9/15 AZZAZ mohamed

Re: [rules-users] (no subject)

2011-09-15 Thread AZZAZ mohamed
Hi, Yes i use the same version for drools and guvnor 5.1 2011/9/15 Michael Anstis michael.ans...@gmail.com Was your BRL generated from the same version of Guvnor as you are trying to de-serialise? The XStream error you show normally happens when there has been a change to the Object model

Re: [rules-users] (no subject)

2011-09-15 Thread Michael Anstis
I note XStream is expecting org.drools.brms.client.modeldriven.brl.RuleModel on the classpath. Guvnor (Community version) uses org.drools.ide.common.client.modeldriven.brl.RuleModel. Is there something you are not telling us? 2011/9/15 AZZAZ mohamed azz...@gmail.com Hi, Yes i use the same

Re: [rules-users] (no subject)

2011-09-15 Thread AZZAZ mohamed
I added all necessary jar in the classpath. Here is an excerpt from my code: Just for information I am beginner in BRMS /** * */ package fr.dto; import java.io.*; import javax.swing.Box.Filler; import org.apache.commons.io.FileUtils; import org.drools.RuleBase; import

Re: [rules-users] (no subject)

2011-08-24 Thread Esteban Aliverti
as well, but this is what the error message is stating. Regards, Frank -- View this message in context: http://drools.46999.n3.nabble.com/rules-users-no-subject-tp3280773p3280800.html Sent from the Drools: User forum mailing list archive at Nabble.com

[rules-users] (no subject)

2011-03-08 Thread Billy Buzzard
I am new to drools and I would like to download the binaries and try some of the examples. However, when I click on the download like of the Drools binaries the screen goes dim and nothing happens. Would someone please explain to me what is going on and what I should do to get the binaries?

Re: [rules-users] (no subject)

2011-03-08 Thread Wolfgang Laun
Please retry - I think the update happened 10mins ago. Working for me now. -W 2011/3/8 Billy Buzzard billy.buzz...@bnsflogistics.com I am new to drools and I would like to download the binaries and try some of the examples. However, when I click on the download like of the Drools binaries

Re: [rules-users] (no subject)

2011-03-08 Thread Eddy Hautot
right clic on it and save link as? 2011/3/8 Billy Buzzard billy.buzz...@bnsflogistics.com I am new to drools and I would like to download the binaries and try some of the examples. However, when I click on the download like of the Drools binaries the screen goes dim and nothing happens.

Re: [rules-users] (no subject)

2011-03-08 Thread Wolfgang Laun
A left click is OK, too; then continue download. -W 2011/3/8 Eddy Hautot eddyhau...@gmail.com right clic on it and save link as? 2011/3/8 Billy Buzzard billy.buzz...@bnsflogistics.com I am new to drools and I would like to download the binaries and try some of the examples. However,

Re: [rules-users] (no subject)

2011-03-08 Thread Eddy Hautot
i said that because i had the exact same problem these last 2 days. had to do a right clic and save link as. Now it's reworking with left clic/continue download :-) 2011/3/8 Wolfgang Laun wolfgang.l...@gmail.com A left click is OK, too; then continue download. -W 2011/3/8 Eddy Hautot

[rules-users] (no subject)

2010-04-22 Thread HONG DENG
___ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users

[rules-users] (no subject)

2010-01-13 Thread Nilima R
Hi All I am new to drools and have started with Drools Guvnor . I am trying to create DSL based on the sample examples in guvnor. I have Customer as declarative fact model and 2 fields within it totalItenmsPrice (integer) and discount(boolean) I have created a DSL which contains the below

[rules-users] (no subject)

2009-11-23 Thread Lindy hagan
I have 4 drl files in my app. Loading all the 4 files during application startup. If any rule is satisfied in File 1,I don't want File 2 be called.Should execute File 3 and 4. If rules in File 1 is not satisfied,want to call File 2 then File 3 and 4. At present I am doing this way.Please let me

Re: [rules-users] (no subject)

2009-11-23 Thread Wolfgang Laun
Best to specify all conditions in full, with all relevant properties, i.e., add sale != Junion/Senior in rules 2 and 4. -W On 11/23/09, Lindy hagan lindyha...@gmail.com wrote: I have 4 drl files in my app. Loading all the 4 files during application startup. If any rule is satisfied in File

Re: [rules-users] (no subject)

2009-11-23 Thread Lindy hagan
I have around 8 to 9 conditions. Around 12 rules in each drl file(files rules will grow). This will make rule file complicated. On Mon, Nov 23, 2009 at 1:19 PM, Wolfgang Laun wolfgang.l...@gmail.comwrote: Best to specify all conditions in full, with all relevant properties, i.e., add sale !=

[rules-users] (no subject)

2009-11-23 Thread Jason Smith
SUMMARY: I am getting a NPE when using modify() with a JavaBean that implements PropertyChangeSupport. I have included the original source and a proposed fix. Stack trace is also included. This applies to Drools 5.0.1, and has been verified to also be a problem for 5.1.0.M1. DETAIL: I

Re: [rules-users] (no subject)

2009-11-23 Thread Nick Heitz
Have you thought about using ruleflow to control the execution of the rules? I'm guessing you could easilycontrol the decision tree type behaviour you're describing. Nick Lindy hagan wrote: I have around 8 to 9 conditions. Around 12 rules in each drl file(files rules will grow). This will

Re: [rules-users] (no subject)

2009-10-01 Thread Pegram, Macon
] On Behalf Of Steve Ronderos Sent: Wednesday, September 30, 2009 12:53 PM To: rules-users@lists.jboss.org Subject: [rules-users] (no subject) Hello Drools Users, I've been looking into why Drools 5 is logging debug and info messages to System.out in my app and trying to figure out how

Re: [rules-users] (no subject)

2009-10-01 Thread Steve Ronderos
-boun...@lists.jboss.org wrote on 10/01/2009 10:30:58 AM: [image removed] Re: [rules-users] (no subject) Pegram, Macon to: Rules Users List 10/01/2009 10:34 AM Sent by: rules-users-boun...@lists.jboss.org Please respond to Rules Users List What you need to do

[rules-users] (no subject)

2009-09-30 Thread Steve Ronderos
Hello Drools Users, I've been looking into why Drools 5 is logging debug and info messages to System.out in my app and trying to figure out how to make it stop. It looks like the SystemEventListener that the SystemEventListenerFactory returns is a DelegatingSystemEventListener that delegates

Re: [rules-users] (no subject)

2009-09-09 Thread Garner, Shawn
Functions on the LHS are not advised and says so in the drools user guide. I can think of two ways to do this (forgive me if my syntax is slightly off). Way number 1 rule ProductDescription validation when $listing : Listing( $description:productDescription != null,

Re: [rules-users] (no subject)

2009-09-04 Thread Wolfgang Laun
A returnValue restriction takes the form field relop ( expression ) (homeHalfTimeScore + awayHalfTimeScore) 0 = homeHalfTimeScore ( - awayHalfTimeScore ) -W On 9/4/09, Zevenbergen, Alex azevenber...@paddypower.com wrote: Hi all, This rule clause fails to evaluate, I am

[rules-users] (no subject)

2009-08-19 Thread Nilima R
Hi, I am new to Drools. Can anyone help me with an example of Drools in jsp/servlets. Thanks, Nilima Rajendra Raichandani Tata Consultancy Services Mailto: nilim...@tcs.com Website: http://www.tcs.com Experience certainty. IT Services

[rules-users] (no subject)

2009-08-05 Thread Chandana Pingle
chandana.pin...@intunity.com.au ___ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users

[rules-users] (no subject)

2008-04-09 Thread [EMAIL PROTECTED]
while using xml file i am getting this error Cannot find the declaration of element 'rule-set'. Exception in thread main org.drools.compiler.DroolsParserException at org.drools.compiler.PackageBuilder.addPackageFromXml(Unknown Source)

[rules-users] (no subject)

2008-03-24 Thread Jason Partyka
Hi all, I'm having an issue with my rule and Drools 4.0.4. The object that my rule is supposed to reason over has nested objects and Drools does not appear to be reasoning over it when I modify attributes. I've pasted the rule at the end of the e-mail. I am attempting to change the value of

[rules-users] (no subject)

2008-03-20 Thread Saleem Lakhani
Hi, I need to have two objects of the same class present in the working memory at the same time. Both objects can have other nested objects of different classes. The reason is I need to compare data change b/w two objects. E.g; originalObject_A.getPersonTO().getAge() !=

[rules-users] (no subject)

2007-05-21 Thread suma latha
Hi I am using Drools 3.0 in our business logic. I need help in the below situation Right now i am done with writing .drl files.but the problem is that my rules should be read from the Database. For example i have to write rule for a leave application.I am using Drools 3.0 and writing rules.In

[rules-users] (no subject)

2007-05-21 Thread suma latha
Hi I am using Drools 3.0 in our business logic. I need help in the below situation Right now i am done with writing .drl files.but the problem is that my rules should be read from the Database. For example i have to write rule for a leave application.I am using Drools 3.0 and writing rules.In

[rules-users] (no subject)

2007-05-21 Thread suma latha
Hi I am using Drools 3.0 in our business logic. I need help in the below situation Right now i am done with writing .drl files.but the problem is that my rules should be read from the Database. For example i have to write rule for a leave application.I am using Drools 3.0 and writing rules.In

[rules-users] (no subject)

2007-04-10 Thread Felipe Piccolini
Hi, I dont know if this is for User or for developer list, but Im having problems with dsl expanders on drl file. Using 3.1 M1 plugin and 3.1 M1 core (all with deps) a simple example using a .dsl expander file compile and fire rules, but doesnt activate any. The same example not using