Re: [rules-users] Using FROM in decision table

2013-06-30 Thread devan.vanree...@gmail.com
Thanks Wolfgang, we will possibly look at upgrading. -- View this message in context: http://drools.46999.n3.nabble.com/Using-FROM-in-decision-table-tp4024617p4024669.html Sent from the Drools: User forum mailing list archive at Nabble.com. ___ rules-

Re: [rules-users] Using FROM in decision table

2013-06-28 Thread devan.vanree...@gmail.com
Thanks for feedback. We are using an old version - 5.0.0. -- View this message in context: http://drools.46999.n3.nabble.com/Using-FROM-in-decision-table-tp4024617p4024625.html Sent from the Drools: User forum mailing list archive at Nabble.com. ___ r

Re: [rules-users] Using FROM in decision table

2013-06-28 Thread devan.vanree...@gmail.com
I have tried something I think to what you are suggesting but I am doing something wrong as the source does not generate correctly from the decision table getAllDocumentTypeList returns a collection of DocumentType and I am trying to

Re: [rules-users] Using FROM in decision table

2013-06-28 Thread devan.vanree...@gmail.com
As per the attached image I have attempted to do this but still doing something wrong as I am trying to evaluate id property on the DocumentType class but source generates incorrectly. it generates the below source 1.|

[rules-users] Using FROM in decision table

2013-06-28 Thread devan.vanree...@gmail.com
Hi there, Would like to find out if it is possible to use the FROM keyword in decision tables, I cant seem to find any examples anywhere. I need to iterate over a collection from within a CONDITION in the decision table. Any help would be appreciated. Thanks Devan -- View this message in

Re: [rules-users] Dedication to Wolfgang Laun - Thank You

2013-01-08 Thread devan.vanree...@gmail.com
Thank you so much for all the help. -- View this message in context: http://drools.46999.n3.nabble.com/rules-users-Dedication-to-Wolfgang-Laun-Thank-You-tp4021352p4021400.html Sent from the Drools: User forum mailing list archive at Nabble.com. ___ ru

[rules-users] Checking whether an element exists as well doesnt exists in several lists

2013-01-08 Thread devan.vanree...@gmail.com
Hi there, Please assist I have an several alert objects in working memory which have been logically collected per case number using the following rule, rule 'Group alerts for a specific case' dialect 'java' when Alert( $caseNumber : caseNumber, $alertNo: alertNo ) n

Re: [rules-users] Collecting items in a List

2012-12-20 Thread devan.vanree...@gmail.com
I'm not sure what I did earlier, but when executing the below rules, I get the desired results. I insert 20 Alert objects and the rule collects alerts according to a specific case number, rules and output below Rules rule 'Group alerts for a specific case' dialect 'java' when Alert( $case

Re: [rules-users] Collecting items in a List

2012-12-20 Thread devan.vanree...@gmail.com
Hi laune, thanks for your response, the alert no is not unique, diferrent cases may have the same alert no. -- View this message in context: http://drools.46999.n3.nabble.com/Collecting-items-in-a-List-tp4021256p4021259.html Sent from the Drools: User forum mailing list archive at Nabble.com. _

Re: [rules-users] Collecting items in a List

2012-12-20 Thread devan.vanree...@gmail.com
Id like to collect all the Alert intances that have the same case number as seperate lLists -- View this message in context: http://drools.46999.n3.nabble.com/Collecting-items-in-a-List-tp4021256p4021257.html Sent from the Drools: User forum mailing list archive at Nabble.com. _

[rules-users] Collecting items in a List

2012-12-20 Thread devan.vanree...@gmail.com
Hi there, I have checked existing posts and able to find problems which are similar to mine but not exactly. I have an Alert object as per below, several alert instances may have the same caseNumber I am trying to collect all the Alert instances that have the same caseNumber, the rule is below, t

Re: [rules-users] ClassNotFoundException

2012-09-03 Thread devan.vanree...@gmail.com
Thanks Vincent, have noted your suggestions, will feedback on the outcome. -- View this message in context: http://drools.46999.n3.nabble.com/ClassNotFoundException-tp4019536p4019552.html Sent from the Drools: User forum mailing list archive at Nabble.com. __

Re: [rules-users] ClassNotFoundException

2012-09-03 Thread devan.vanree...@gmail.com
There are dependencies on external classes, but the model is quite large so not quite sure which dependencies to check, we make extensive use of hibernate, so imported the necesssary hibernate jar to Guvnor with no luck as well. I will try the executing using DRL outside of Guvnor and feedback.

Re: [rules-users] ClassNotFoundException

2012-09-03 Thread devan.vanree...@gmail.com
Thanks for the response Steve, the only imports I have are specifically for objects I use within my rules, I have removed all the imports for the "problematic" jar as well as any imports for objetcs not used in the rules and tried using the fully qualified names of the classes in the rules, still n

[rules-users] ClassNotFoundException

2012-09-03 Thread devan.vanree...@gmail.com
Hi there, Please confirm if anyone is able to assist. I have uploaded several pojo model jars to Guvnor, and resolved all issues when saving and validating the package configuration in Guvnor and no issue when building packages. I get a ClassNotFoundException for classes in a specific jar that I

[rules-users] Declarative model does not replicate

2012-06-13 Thread devan.vanree...@gmail.com
Hi there, I am using Guvnor 5.0.0 I have a Guvnor running in a cluster, Guvnor uses Oracle DB for the repo. When I add rules, functions or upload a POJO model jar, the different guvnor instances are in synch, however this is not the case for my declarative model which is not in synch. My apolog

Re: [rules-users] BigDecimal comparison

2012-06-13 Thread devan.vanree...@gmail.com
Thanks Vincent. -- View this message in context: http://drools.46999.n3.nabble.com/BigDecimal-comparison-tp4017841p4017911.html Sent from the Drools: User forum mailing list archive at Nabble.com. ___ rules-users mailing list rules-users@lists.jboss.org

[rules-users] BigDecimal comparison

2012-06-10 Thread devan.vanree...@gmail.com
Hi there, Please assist. I have an object MaxCap that has a single property capAmount of type BigDecimal. The BigDecimal is negative when the rule is MaxCap( capAmount.doubleValue < 0.00 ) it doesnt fire, which I expect it should but when the rule is MaxCap( capAmount.doubleValue > 0.00 ) t

Re: [rules-users] Problem with ObjectFatory for jaxb objects

2012-05-27 Thread devan.vanree...@gmail.com
Please ignore, thanks. Commented out the import statements for the ObjectFactory classes and compilation succeeds for function. -- View this message in context: http://drools.46999.n3.nabble.com/Problem-with-ObjectFatory-for-jaxb-objects-tp4016408p4017577.html Sent from the Drools: User forum ma

[rules-users] Problem with ObjectFatory for jaxb objects

2012-05-26 Thread devan.vanree...@gmail.com
Hi there, I uploaded a domain model to a package on Guvnor The imported objects contain jaxb objects from 2 different schemas included in the package imports are import uk.co.myapp.rules.ObjectFactory import uk.co.myapp.rules.domain.policy.ObjectFactory My rules objects use uk.co.myapp.rules

[rules-users] multiple rule package files in change-set.xml

2012-05-16 Thread devan.vanree...@gmail.com
Hi there, Please assist. I have added2 package to my change-set.xml, they are "resources uk.co.example.mapping.policy.pkg" and "uk.co.example.policy.validation.pkg", the rules in "uk.co.example.mapping.policy.pkg" infer facts required by "uk.co.example.policy.validation.pkg". When all the rule

Re: [rules-users] Unable to share model between different packages in Guvnor 5.0.0

2012-05-15 Thread devan.vanree...@gmail.com
Hi, Yeah, tested with 5.3.0 Guvnor and worked fine. Thanks Devan -- View this message in context: http://drools.46999.n3.nabble.com/Unable-to-share-model-between-different-packages-in-Guvnor-5-0-0-tp3987530p3988057.html Sent from the Drools: User forum mailing list archive at Nabble.com.

[rules-users] Unable to share model between different packages in Guvnor 5.0.0

2012-05-14 Thread devan.vanree...@gmail.com
Hi there, Please assist. I promote 2 POJO model jars and a declarative model to the global area in Guvnor. I then create a upload a new POJO model jar and declarative model but select not to "create new" but to import the models from global area, however there is nothing in the drop down of avail

Re: [rules-users] Guvnor sync issues

2012-05-09 Thread devan.vanree...@gmail.com
Thanks so much, I have referred as well to Jackrabbit Wiki - http://wiki.apache.org/jackrabbit/Clustering#Sample_Cluster_Configurations -- View this message in context: http://drools.46999.n3.nabble.com/Guvnor-sync-issues-tp3974395p3974522.html Sent from the Drools: User forum mailing list archiv

[rules-users] Guvnor sync issues

2012-05-09 Thread devan.vanree...@gmail.com
Hi Guys, Please assist. I have Guvnor running on 2 different machines. Both Guvnors have been configured exactly the same to use Oracle for the storing the BRMS assets. They have exactly the same repository.xml. Because of this I am expecting that when I make changes to Guvnor on the one machin

Re: [rules-users] Guvnor - use database to store repository

2012-05-09 Thread devan.vanree...@gmail.com
Thanks so much for the quick response, that answers my question. The different Guvnor instances will all contain the same rules, assets, data etc, therefore as per your response I will configure to use the same tables. -- View this message in context: http://drools.46999.n3.nabble.com/Guvnor-use-

[rules-users] Guvnor - use database to store repository

2012-05-09 Thread devan.vanree...@gmail.com
Hi Guys, Quick question. Is it advisable for different instances of guvnor to use the same DB tables to store and retrieve assets or should different tables be used for different instances of Guvnor. Many thanks Devan -- View this message in context: http://drools.46999.n3.nabble.com/Guvnor-us

Re: [rules-users] Guvnor "Repository Configuration" not available under "Administration"

2012-03-26 Thread devan.vanree...@gmail.com
I was using an incorrect version of Guvnor, thanks for your help. -- View this message in context: http://drools.46999.n3.nabble.com/Guvnor-Repository-Configuration-not-available-under-Administration-tp3851863p3857750.html Sent from the Drools: User forum mailing list archive at Nabble.com. _

[rules-users] Guvnor "Repository Configuration" not available under "Administration"

2012-03-23 Thread devan.vanree...@gmail.com
Hi there, I am unable to find the "Repository Configuration" under "Administration" on Guvnor. Any suggestions on what I need to do? Regards Devan -- View this message in context: http://drools.46999.n3.nabble.com/Guvnor-Repository-Configuration-not-available-under-Administration-tp3851863p385

Re: [rules-users] Drools Eclipse debug views - Audit, Agenda, Working Memory, etc

2012-03-16 Thread devan.vanree...@gmail.com
Converted my existing Java project to a Drools Project using eclipse and debugging as a Drools application, as before, didnt work, however when I created a new Drools project and debugging the standard DroolsTest.java and sample.drl that is created when creating a new Drools project then I am able

Re: [rules-users] Drools Eclipse debug views - Audit, Agenda, Working Memory, etc

2012-03-16 Thread devan.vanree...@gmail.com
Its a Java project. -- View this message in context: http://drools.46999.n3.nabble.com/Drools-Eclipse-debug-views-Audit-Agenda-Working-Memory-etc-tp3831318p3831559.html Sent from the Drools: User forum mailing list archive at Nabble.com. ___ rules-users

Re: [rules-users] Drools Eclipse debug views - Audit, Agenda, Working Memory, etc

2012-03-16 Thread devan.vanree...@gmail.com
Using 5.2.1 -- View this message in context: http://drools.46999.n3.nabble.com/Drools-Eclipse-debug-views-Audit-Agenda-Working-Memory-etc-tp3831318p3831453.html Sent from the Drools: User forum mailing list archive at Nabble.com. ___ rules-users mailing

[rules-users] Drools Eclipse debug views - Audit, Agenda, Working Memory, etc

2012-03-16 Thread devan.vanree...@gmail.com
Hi there, Help needed pls. I have read previous threads from this forum on not being able to see any content on Drools Eclipse debug views - Audit, Agenda, Working Memory, etc when debugging rules and still cant seem to get this working I have tried the following suggestions I inspect my state

Re: [rules-users] logicalInsert and construction of an inferred fact.

2012-03-13 Thread devan.vanree...@gmail.com
Thanks for your help. -- View this message in context: http://drools.46999.n3.nabble.com/logicalInsert-and-construction-of-an-inferred-fact-tp3822594p3822857.html Sent from the Drools: User forum mailing list archive at Nabble.com. ___ rules-users maili

Re: [rules-users] logicalInsert and construction of an inferred fact.

2012-03-13 Thread devan.vanree...@gmail.com
Thanks for your response, I picked it up from the following link the http://docs.jboss.org/drools/release/5.3.0.Final/drools-expert-docs/html/ch02.html#d0e795 In terms of question number 2, for every inferred fact I would I have to construct myself and make Guvnor aware of it before logically inse

[rules-users] logicalInsert and construction of an inferred fact.

2012-03-13 Thread devan.vanree...@gmail.com
Hi there, Kindly assist. I am playing around with Inference and Truth maintenance I have 2 questions. 1) When doing a logicalInsert() in the consequence of a rule - is this the same as doing a insertLogical()? The reason I ask is that when creating rule in Guvnor it doesnt recognize logicalInser