RE: [rules-users] How to invoke particular ruleflow multiple rule flowsfrom from stateless session

2008-07-23 Thread Anstis, Michael (M.)
drools.getworkingmemory.startprocess(id) Starts a new process instance for the process with the given id. Section 6.8.4. Using a rule flow in your application of the (4.0.5) manual gives more information. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of

[rules-users] What is the Maximum (rule)complexity in Drools

2008-07-23 Thread raj_drools
Hi , what is the maximum rule complexity in Drools 4.0.7 . are there any statistics regarding maximum rule complexity and load drools support ? regards , sekhar -- View this message in context:

[rules-users] InvalidClassException: When creating RuleAgent

2008-07-23 Thread Felbecker, Tobias
When I create a new RuleAgent with a package created with the BRMS following Exception is thrown: RuleAgent(BusinessRuleEngine) INFO (Wed Jul 23 12:00:32 CEST 2008): Configuring with newInstance=true, secondsToRefresh=30 RuleAgent(BusinessRuleEngine) INFO (Wed Jul 23 12:00:32 CEST 2008):

[rules-users] generic properties

2008-07-23 Thread thomas kukofka
Hello, I want to use a generic Input-Object for drools which can i.g. access String properties: private HashMapParameter, String stringParameter; with methods: public String getStringPropertyValue(Parameter parameter) { return stringParameter.get(parameter); } public void

[rules-users] InvalidClassException: When creating RuleAgent

2008-07-23 Thread Felbecker, Tobias
The BRMS is using drools-core-4.0.7 and I was working with drools-core-4.0.4. ___ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users

[rules-users] generic properties

2008-07-23 Thread thomas kukofka
Hello , I just recognized, that this doesn't work. But it is possible to use plain Java code in the rule, also if-conditions and for and while-loops etc.. However more Java code makes the rule less readable and elegant. Is there another possibility to use generic input objects? Thomas

RE: [rules-users] How to check for a variable number of conditions ina rule?

2008-07-23 Thread Ron Kneusel
Mike, I think the collect will work, I'll have to look at it more closely because the ordering of elements in the array is significant so I'm not sure I can just break the elements up into facts and let collect group them however it will. As a follow up, while my solution of using a global in

Re: [rules-users] generic properties

2008-07-23 Thread Edson Tirelli
If you make your map available through a get, you can use simplified Map syntax like this: public Map getStringParameters() { return stringParameter; } io: InputObject ( stringParameters[propertyname] == something) []s Edson 2008/7/23 thomas kukofka [EMAIL PROTECTED]:

Re: [rules-users] How to check for a variable number of conditions ina rule?

2008-07-23 Thread Edson Tirelli
Ron, if your global is set before ***asserting facts to the working memory and not changed anymore, you can use it. Also, make sure your array or whatever is an attribute of a class, and so has some semantic to it. You can do things like this: when MyArrayContainer( $flags :

Re: [rules-users] generic properties

2008-07-23 Thread Vanina Beraudo
Hi, you can try using eval when $io:InputObject() eval($io.getStringPropertyValue(propertyname)==something) then .. 2008/7/23 thomas kukofka [EMAIL PROTECTED]: Hello, I want to use a generic Input-Object for drools which can i.g. access String properties:

[rules-users] problems with decition tables

2008-07-23 Thread Vanina Beraudo
Hi, I am working with decition tables, I have differents xls files with rules and I want to add multiple xls files to the same rulebase and they will be merged into a single package. I do the following: private static RuleBase readTablaDecision() throws Exception { //read in the

[rules-users] problems with decition tables

2008-07-23 Thread Vanina Beraudo
Hi, I am working with decition tables, I have differents xls files with rules and I want to add multiple xls files to the same rulebase and they will be merged into a single package. I do the following: private static RuleBase readTablaDecision() throws Exception { //read in the

[rules-users] problems with desicion tables

2008-07-23 Thread Vanina Beraudo
Hi, I am working with decition tables, I have differents xls files with rules and I want to add multiple xls files to the same rulebase and they will be merged into a single package. I do the following: private static RuleBase readTablaDecision() throws Exception { //read in the

RE: [rules-users] problems with desicion tables

2008-07-23 Thread Knapp, Barry
Make sure all the xls files have the same package declaration at the top. Barry -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Vanina Beraudo Sent: Wednesday, July 23, 2008 3:27 PM To: rules-users@lists.jboss.org Subject: [rules-users] problems with

[rules-users] java.util.NoSuchElementException in buildAsset

2008-07-23 Thread Sergio Stateri Jr
Hi, I have installed BRMS (Drools 5) and create a repository for BRMS. When I create a simple rule, like: when $object: Object() then System.out.println(ok); end all works fine, but... When I create a complex rule, using my own complex classes and click in the validate button,