Re: [rules-users] Retrieving all Packages that are present in Drools Guvnor console

2011-11-30 Thread Michael Anstis
I gather you want to display the packages and rules in your own application. I would recommend use of the REST API. The Guvnor documentation has examples. On 30 November 2011 04:41, srinivasasanda srinivasasa...@gmail.com wrote: Yes Mansits,I need to display the four packages which are present

Re: [rules-users] Planner 5.3.Final - presumedScore is corrupted when using update on the rules working memory

2011-11-30 Thread Geoffrey De Smet
Op 30-11-11 01:11, guyramirez schreef: I am looking into Planner for a schedule assignment business case. I created a move factory, got the local search phase set up and quicly ran into a presumedScore is corrupted because it is not the realScore error. As a work around, I changed my

Re: [rules-users] Dynamic Fact(field) Generation in Declarative Model

2011-11-30 Thread srinivasasanda
Hi Davidde, Let me explain our requirements in the lines below. --- We are developing our CRM Application using Liferay portals. This application would be used by the end users of the Bank/Telecom

[rules-users] Drools Ruleflow persistence on MySQL - invalid SQL query generated

2011-11-30 Thread victorC
Hi, After few days of struggling on Drools Ruleflow persistence setup on MySQL I finally came to the point when I feel it almost works but I am getting an MySQL error. I see the following SQL query in the log /it does not look correct/ which is followed by the MySQL error message. select

Re: [rules-users] Drools Activation Group

2011-11-30 Thread freejava
Thanks for the clarification, Laune. -- View this message in context: http://drools.46999.n3.nabble.com/rules-users-Drools-Activation-Group-tp3546598p3548380.html Sent from the Drools: User forum mailing list archive at Nabble.com. ___ rules-users

Re: [rules-users] Firing Mulitple packages

2011-11-30 Thread srinivasasanda
Hi Vignesh and Esteban, Please help me out in this issue..From your code,I'm trying to display the packages present in the kbase.But it is displaying hashcode instead of Package name.Here is my code KnowledgeBuilder kbuilder1 = KnowledgeBuilderFactory.newKnowledgeBuilder();

Re: [rules-users] Firing Mulitple packages

2011-11-30 Thread Wolfgang Laun
for( KnowledgePackage kp: kbase.getKnowledgePackages() ){ System.out.println( kp.getName() ); } // -W On 30 November 2011 15:25, srinivasasanda srinivasasa...@gmail.com wrote: Hi Vignesh and Esteban, Please help me out in this issue..From your code,I'm trying to display the packages

[rules-users] Data structures in Guvnor REST API

2011-11-30 Thread Joe Ammann
Hi all I'm trying to integrate Guvnor into my application via the REST API. Little question to the Asset data structures. The doc (http://docs.jboss.org/drools/release/5.3.0.Final/drools-guvnor-docs/html/ch09.html#d0e2282) says, that every Asset has a type, and via AssetMetadata also a format.

Re: [rules-users] drools5.2 integrate with JMS

2011-11-30 Thread vasilievip
Could you please describe use-case a bit? You probably need to look into direction of camel or jbossesb or servicemix, but it depends on what you are trying to achieve. Take a look at this doc:

[rules-users] Assignment problem

2011-11-30 Thread Patrik Dufresne
Hi, I am a Java developer and I am currently working on a work force management software for food compagnies. So far, I've decided to use constraint programming (CP) to find a solution to the problem. The current version is using JaCoP as a solver, but I find it hard to make it support

Re: [rules-users] Planner 5.3.Final - presumedScore is corrupted when using update on the rules working memory

2011-11-30 Thread guyramirez
Thank you for the pointers. My understanding is that since it is failing on the construction heuristic (move/unmove not used at this point) then the issue would be in the score rule? Here is my only score rule (ShiftAssignment is the only planning entity with shiftStartTime/shiftEndTime

[rules-users] How to let a rule run only one time

2011-11-30 Thread Zhao Yi
I have a couple of rules and want them to run only one time in an agenda group. When I called update in a rule, all rules will be re-match. How can I let each rule in an agenda group run only one time? -- View this message in context:

Re: [rules-users] Data structures in Guvnor REST API

2011-11-30 Thread Jervis Liu
Hi, the Asset.type is a standard property from Dublin core (http://en.wikipedia.org/wiki/Dublin_Core), though this property is never used by Guvnor Asset or Package, its always empty. I will remove this property from the REST API. Thanks for pointing this out. Cheers, Jervis On 2011/11/30