[rules-users] Multiple worksheet decision tables

2009-10-01 Thread Swindells, Thomas
Is it possible to get Drools to load all the rules table within an excel spreadsheet if they are spread across multiple worksheets? From the documentation I have read it appears drools will only load the rules from the first/a specified worksheet. The only way I have found to do it is to load

Re: [rules-users] Multiple worksheet decision tables

2009-10-01 Thread Vikrant Yagnick
Hi, I had written some code for this a while ago. But, basically Drools uses jxl for compiling decision tables. You can also use JXL. It has an API that gives you all the worksheet names, which you can then pass to the compiler one by one to compile all your decision tables. From memory it

Re: [rules-users] Process variables in split/action nodes

2009-10-01 Thread Kris Verlaenen
You should use a code constraint, that allows you to access the variable directly (if you define them as variables of your process at least, click the background of your process and edit the variables property). For example, if you have a variable count, you can have a code constraint (MVEL or

Re: [rules-users] (no subject)

2009-10-01 Thread Pegram, Macon
What you need to do is implement your own SystemEventListener implementation to override the default one. Before you do anything meaningful with Drools, you'll want to override the default by calling: SystemEventListenerFactory.setSystemEventListener(YOUR SystemEventListenerImpl); Here's

Re: [rules-users] Drools Flow: waiting for process to complete without polling

2009-10-01 Thread Kris Verlaenen
I'm not sure that having a thread wait like this until all processes have completed is a good idea in general, as in theory processes could run for a long time (hours/days/weeks/...). Unless of course you are only using synchronous processes, but in that case the engine will only return once the

Re: [rules-users] (no subject)

2009-10-01 Thread Steve Ronderos
Thanks Macon, That is the information I was looking for. I was looking at the code and it looked like there were some comments hinting at making the SystemEventListener configurable. Is this a future feature? or am I reading too much into the comments? Thanks, Steve Ronderos

Re: [rules-users] Drools Flow: waiting for process to complete without polling

2009-10-01 Thread Alexandros Karypidis
Hello Kris, Thank you for your reply. I am currenty doing test-driven development outside an application server to learn the API. I launch processes from within a unit test method; hence my need to wait in this manner so that I can perform a final assertion on process state (after the process

[rules-users] Class loader security exception

2009-10-01 Thread kamal konduru
Hi Everyone, I have a problem deploying drools5 project. In our deployment process due to security reasons JVMS are not allowed to create clasloader. However Drools is trying to create a CompositeClassLoader which interns calls a System Class Loader's constructor, that is not allowed by JVM.

Re: [rules-users] Process variables in split/action nodes

2009-10-01 Thread Renato Herebia
Kris, thanks for your answer... I've tried to access the variable in a split constraint (return count != 1;) with mvel dialect and I got this trace in runtime: Uncaught exception on client java.lang.RuntimeException: unable to execute ReturnValueEvaluator at