Re: [rules-users] Create Decision Tables using java code

2013-09-10 Thread Harald Lösing
Hi Annie, as Michael points to POI, there is a usefull article with an end to end example how to write excel from Java: http://viralpatel.net/blogs/java-read-write-excel-file-apache-poi/ Cheers Harald Am 10.09.2013 um 15:52 schrieb Michael Anstis : > As you state Decision Tables can be spread s

Re: [rules-users] Create Decision Tables using java code

2013-09-10 Thread Wolfgang Laun
Sounds like a very roundabout (and icky) way to generate rules. Make sure to look into templates (Expert manual, 2.5., Templates) before you decide on doing this. -W On 10/09/2013, anniejoseph wrote: > Hi > I'm using JBPM drools. Is it possible to create Decision Tables(spread > sheet) using

Re: [rules-users] KnowledgeAgent with persistence?

2013-09-10 Thread Davide Sottara
Is the knowledge agent configured NOT to create a new knowledgebase every time it detects an update? That is, did you create it with the option "newInstance" set to false? On 09/10/2013 03:26 PM, dunnlow wrote: > I'm using Drools 5.5 (and guvnor) > > Can anyone point me to example where a knowledg

[rules-users] Guvnor then Set method with two parameters

2013-09-10 Thread srikanthmalli
I have a set method with 2 parameters, Guvnor shows the method but it will prompt only for 1 value. How do I use methods with multiple parameters using Guvnor Business Guided editor with out DSL (I can do with DSL) Thanks, -Sri -- View this message in context: http://drools.46999.n3.nabble.com

[rules-users] KnowledgeAgent with persistence?

2013-09-10 Thread dunnlow
I'm using Drools 5.5 (and guvnor) Can anyone point me to example where a knowledge agent is used with persistence. I am trying to understand how the knowledgeagent is used with a persisted session. Fundamentally when my app starts, I am trying to do one of two things: If a persisted session doe

Re: [rules-users] Events in wrong order - will it cause problems?

2013-09-10 Thread Wolfgang Laun
You might be bitten by incorrect firings of rules that react to something not happening after some event. Consider the rule: "When John doesn't call Betty after he calls Ada and before he calls Cloe..." and the call event to Betty arrives later than the one to Cloe. (There may be issues with w

Re: [rules-users] Create Decision Tables using java code

2013-09-10 Thread Michael Anstis
As you state Decision Tables can be spread sheets. There are a couple of Java APIs to build XLS files: JExcel and POI. Either you help. On 10 September 2013 14:01, anniejoseph wrote: > Hi > I'm using JBPM drools. Is it possible to create Decision Tables(spread > sheet) using java code or

[rules-users] Events in wrong order - will it cause problems?

2013-09-10 Thread Alexander Wolf
I used to let drools set the timestamp of events automatically, but a new requirement forces me to use @timestamp for my events. Normally my events should come in the right order, but sometimes (as the events origin from mobile devices) it can occur that the order is incorrect. I tested with "w

[rules-users] Guvnor 5.5 pkg compile error - Unable to build expression for action

2013-09-10 Thread pritispin
Hi All, I'm not able to compile an imported pkg from eclipse inside guvnor. The package is imported into defaultPackage and the process definition of the imported packages has tns:package:defaultPackage. I'm runnnig the jbpm-fullinstaller 5.5 which starts jBossAS7. The errors, when I compile the

[rules-users] Create Decision Tables using java code

2013-09-10 Thread anniejoseph
Hi I'm using JBPM drools. Is it possible to create Decision Tables(spread sheet) using java code or is there any API to create Decision Tables(spread sheet) via java code. Thanks & Regards Annie -- View this message in context: http://drools.46999.n3.nabble.com/Create-Decision-Tables-u

Re: [rules-users] how to check difference between two .pkg files

2013-09-10 Thread Esteban Aliverti
Just one more thing: Guvnor doesn't compare the binary packages, it uses the data stored in its repository to do this. So, just like Zahid said, Guvnor uses JCR to compare 2 different versions of the same package. Doing a binary comparison is not an easy thing. You can take this class as a starting

Re: [rules-users] Dynamic ValueRangeProvider

2013-09-10 Thread Geoffrey De Smet
On 09-09-13 16:13, Andrew Varner wrote: > Optaplanners, > > I'm looking to add some dynamic goodness to ValueRangeProvider. The only way > I see to specify a ValueRangeProvider is via annotation. > > I'd like to be able to generate the id and Collection of candidate values > dynamically. Is it p