[rules-users] Please help me to fix the AgendaFilter related issue

2010-08-23 Thread Sanjib Karmakar
import org.drools.runtime.StatefulKnowledgeSession; import org.drools.spi.Activation; import org.drools.spi.AgendaFilter; . . . KnowledgeBuilder kbuilder = KnowledgeBuilderFactory.newKnowledgeBuilder(); kbuilder.add(

Re: [rules-users] Please help me to fix the AgendaFilter related issue

2010-08-23 Thread Sanjib Karmakar
Sir I have modified according to your suggestion but still I am getting the same error. Regards Sanjib Karmakar SkyTech Solutions Pvt. Ltd Please consider the environment before printing this email. Wolfgang Laun wolfgang.l...@gmail.com Sent by: rules-users-boun...@lists.jboss.org 08/23

Re: [rules-users] How Can a Drools Rule call another Drools Rule?

2010-08-20 Thread Sanjib Karmakar
be extremely helpful if you please share a code snippet regarding this. Regards Sanjib Karmakar SkyTech Solutions Pvt. Ltd Please consider the environment before printing this email. Wolfgang Laun-2 [via Drools - Java Rules Engine] ml-node+1225490-1260937792-82...@n3.nabble.com 08/19/2010 07:45

[rules-users] How Can a Drools Rule call another Drools Rule?

2010-08-18 Thread Sanjib Karmakar
Hi friends I would like to execute a rule say Rule-1 from inside another rule say Rule-2. In project I am using xml and not drl, and I am using Drools 5.0 Please let me know how to call a rule from another rule. Thanks Sanjib -- View this message in context:

[rules-users] Need help to call method with input parameter and return type

2010-08-02 Thread Sanjib Karmakar
Hi I am new in drools. In my project I have to call the method define in xml rule file using java ## Following is my rule xml ?xml version=1.0 encoding=UTF-8? package name=com.sample xmlns=http://drools.org/drools-5.0; xmlns:xs=http://www.w3.org/2001/XMLSchema-instance;

Re: [rules-users] Failed to read schema document when trying to transform from XML to DRL

2010-08-02 Thread Sanjib Karmakar
Hi Friends I got the same problem and the solution is replace the following line qualified-identifier-restriction evaluator===Message.HELLO /qualified-identifier-restriction with this qualified-identifier-restriction evaluator===Message.HELLO/qualified-identifier-restriction Note an extra

Re: [rules-users] Failed to read schema document when trying to transform from XML to DRL

2010-08-02 Thread Sanjib Karmakar
Hi Friends I got the same problem and the solution is replace the following line qualified-identifier-restriction evaluator===Message.HELLO /qualified-identifier-restriction with this qualified-identifier-restriction evaluator===Message.HELLO/qualified-identifier-restriction Note an extra

[rules-users] Request for help to execute rule using drools5.0 from excel file

2010-06-30 Thread Sanjib Karmakar
Hi I am new in drools and in my project I would like to access rules in excel file using drools 5.0 Please provide me the source code for how to access the rules in excel file. I have done the following code KnowledgeBuilder kBuilder = KnowledgeBuilderFactory.newKnowledgeBuilder();