[rules-users] Drools Guvnor deployment on Weblogic

2009-09-16 Thread Nilima R
Hi Bill,As per you reply iehttp://www.jboss.org/community/wiki/DroolsGuvnor50inJBossAS5 As the wiki mentions, the error should not stop you from deploying. BTW, abetter subject line would be nice, but I guess I'm using it too:-) to my queryI am new to drools and i am trying to install Guvnor in

[rules-users] Applying rules on xml data

2009-09-16 Thread Nilima R
Hi All,I have a wb service which returns me xml and I need to apply rules on that xml data and not pOJO.Can someone point me some refrence link.I am using Guvnor.ThanksNilima Rajendra RaichandaniSub Focus Area Lead - BPM/BAM/BRETEG - Open Source PlatformTata Consultancy ServicesPh:-

Re: [rules-users] Applying rules on xml data

2009-09-16 Thread Anstis, Michael (M.)
Hi Nilima, This might be of interest http://www.theserverside.com/discussions/thread.tss?thread_id=46708 although I don't know whether it is supported with Drools 5.x. Otherwise I believe your only option is to use JAXB to map the XML into POJO's. I am unsure whether there is a native channel

Re: [rules-users] Applying rules on xml data

2009-09-16 Thread Anstis, Michael (M.)
crawling back under my stone - to spend the weekend R'ingTFM ;-) -Original Message- From: rules-users-boun...@lists.jboss.org [mailto:rules-users-boun...@lists.jboss.org] On Behalf Of Jaroslaw Kijanowski Sent: 16 September 2009 09:41 To: Rules Users List Subject: Re: [rules-users]

[rules-users] Problem in accesing rule constraint reference Variable

2009-09-16 Thread Nikhil S. Kulkarni
Hi, I am Using Drools 5 I am facing following Issue :- 1. I am trying to access a rule Using rule flow Process but I am unable to access rule constraint reference Variable which is easily accessible in normal .drl file Following is the e.g. :- In rule flow file, in Split node with

[rules-users] How to prevent activation list creation on retracts

2009-09-16 Thread Scott Burrows
I think this question was asked recently but I cant seem to find it. Using 4.0.7 I have a large number of facts I need to retract from working memory after all rules have been processed (transaction is completed) so I can insert new facts for the next transaction. Milliseconds count. I know

Re: [rules-users] How to prevent activation list creation on retracts

2009-09-16 Thread Greg Barton
Dispose of your session and create another. --- On Wed, 9/16/09, Scott Burrows scottjburr...@gmail.com wrote: From: Scott Burrows scottjburr...@gmail.com Subject: [rules-users] How to prevent activation list creation on retracts To: Rules Users List rules-users@lists.jboss.org Date:

Re: [rules-users] How to prevent activation list creation on retracts

2009-09-16 Thread Scott Burrows
Thanks Greg but I have tried that, creating a newstatefulsession is slowish, taking around 800 milliseconds to do. When milliseconds count 800 is too long. It's faster to do the retracts, they take about 400 millis. Someone showed a command or configuration recently that tells workingmemory not

[rules-users] determining what field changed

2009-09-16 Thread Chris Richmond
Is it possible to determine what fields from an object changed within a rule. So I am using this to determine if any DataObject has changed: //IDENTIFY ANY DATAOBJECT CHANGES rule identify any DATAOBJECT when $do : DataObject(); then

Re: [rules-users] determining what field changed

2009-09-16 Thread Greg Barton
Not really. Without modifying the objects you could do this outside the rules using a WorkingMemoryEventListener, which has objectInserted() and objectUpdated() methods. Event if you can modify the DataObject to add an I'm a new object flag, and set it immediately on insertion, then you could

Re: [rules-users] How to prevent activation list creation on retracts

2009-09-16 Thread Greg Barton
You can't have concurrent threads, each with a session? Or do you need all transactions processed serially? Also, can you process simultaneous transactions in the same working memory without retracting objects from the previous one? Objects from previous transactions could then be cleaned

Re: [rules-users] determining what field changed

2009-09-16 Thread Chris Richmond
In general do you have any suggestions for getting around multiple update detects being made? In other words I have a rule to detect if my DataObject has fieldA X and if so, then modify fieldB. Then another rule that checks if fieldB = value and then updates field C. So something like: rule

Re: [rules-users] determining what field changed

2009-09-16 Thread Greg Barton
There is no functional difference between modify and update. update is the new syntax. See section 3.3.3.1.3 of the expert doc: https://hudson.jboss.org/hudson/job/drools/lastSuccessfulBuild/artifact/trunk/target/docs/drools-expert/html_single/index.html#d0e1264 (scroll down a bit) As for

[rules-users] detecting when an object has not been inserted

2009-09-16 Thread Chris Richmond
Hello, The documentation mentions detecting when an object of certain type with certain values has NOT been inserted within a certain amount of time.for instance if you have one reading above a threshold and want to see if you've received an auxillary reading within specs within the last 10