[rules-users] Using rule flow in Guvnor

2010-08-09 Thread Dinesh kumar
Hi, I am having an issue in implementing the rule flow in guvnor. I created a simple rule flow using eclipse plug in. http://drools-java-rules-engine.46999.n3.nabble.com/file/n1057004/rules.jpg I checked the rule flow model in eclipse using the green tick mark and it showed Drools flow

Re: [rules-users] Using rule flow in Guvnor

2010-08-09 Thread Dinesh kumar
Sorry, my .rfm file was not pasted properly in the previous post I checked the rule flow model in eclipse using the green tick mark and it showed Drools flow model checked successfully. My .rf and .rfm files were created. But when I imported .rf file in my guvnor and build the package I am

[rules-users] Is nested loops possible ?

2010-08-06 Thread Dinesh kumar
Hi, I am having a problem in iterating a list inside a list. I am having the following business scenario. Public Class CustomerOrder { private String customerName; private ArrayListOrder orderList; } Public Class Order { private String orderId; private

Re: [rules-users] are for loops possible in drools

2010-08-02 Thread Dinesh kumar
Hi, I faced a similar problem. This thread helped me to solve the issue. this keyword is working fine for me. U can check whether it is supported in your version. I am using 5.0.1 But even this keyword works for me, I am facing another problem. The then block executed for every success in the

Re: [rules-users] Rules integration with Java -need help

2010-07-30 Thread Dinesh kumar
Hi, Thanks for your reply. Things are working. :) Regards, Dinesh -- View this message in context: http://drools-java-rules-engine.46999.n3.nabble.com/Rules-integration-with-Java-need-help-tp966070p1008950.html Sent from the Drools - User mailing list archive at Nabble.com.

[rules-users] How to Iterate list in drools

2010-07-30 Thread Dinesh kumar
Hi, I am facing problems in iterating a list in guvnor. I tried the following code and it worked. import java.util.ArrayList; rule createValidationReport dialect 'java' when ClaimRegistration($ailmentList : ailmentListFromScreen) then for(String ailment : (ArrayListString) $ailmentList){

[rules-users] Rules integration with Java -need help

2010-07-14 Thread Dinesh kumar
Hi, Need help in integrating guvnor with my java application. I have the set rules to executed for a particular module as individual packages within guvnor. To fire these rules, I have separate properties file specifying the URL of each package and mention it within the application as below.

Re: [rules-users] Calling a rule within a rule

2010-06-02 Thread Dinesh kumar
ways to call a rule within a rule. You made it clear.. !!! Dinesh kumar -- View this message in context: http://drools-java-rules-engine.46999.n3.nabble.com/Calling-a-rule-within-a-rule-tp863409p864648.html Sent from the Drools - User mailing list archive at Nabble.com

Re: [rules-users] Drools 5.0.1 in eclipse having memory issue

2010-06-02 Thread Dinesh kumar
1024MB for your JVM. The following link will give better idea with screen shots http://dinu.blog.com/2010/06/02/out-of-memory/ http://dinu.blog.com/2010/06/02/out-of-memory/ Regards, Dinesh kumar -- View this message in context: http://drools-java-rules-engine.46999.n3.nabble.com/Drools-5-0-1

[rules-users] Calling a rule within a rule

2010-06-01 Thread Dinesh kumar
Hi All, I am new to Drools and I need a help. Is it possible to call a rule within a rule. i.e., only when rule1 condition is true , my rule2 should execute rule1 when a!=null then ... rule2 when a.toString() != then ... Though i can write both the conditions in the same rule, its not a

[rules-users] Help needed in configuring drools guvnor with MySql

2010-05-26 Thread Dinesh kumar
Hi, I am trying to configure Drools Guvnor with MySql. I am using JBoss 4.0 . I searched the web and changed my repository.xml that was created in my JBoss/bin . But I am getting one exception after another and finally I am struck up in this exception. Any help on this will be of great help..

Re: [rules-users] Problem using Oracle as data repository for Guvnor 5.0.0.M4

2010-05-26 Thread Dinesh kumar
Hi,, I have the same problem. Is there any solution for this.. -- View this message in context: http://drools-java-rules-engine.46999.n3.nabble.com/Problem-using-Oracle-as-data-repository-for-Guvnor-5-0-0-M4-tp58866p844751.html Sent from the Drools - User mailing list archive at Nabble.com.