Re: [rules-users] How to write a rule that fires when it matches against specific facts in working memory.

2011-02-05 Thread Wolfgang Laun
I haven't tried this, but it ought to work: put dialect "mvel"; into the cell next to the cell keyed Functions, with or without actual function. Code in there is just copied. But, apart from some simpler coding in the code snippets, using MVEL is not a "must have". -W On 5 February 2011 18:1

Re: [rules-users] gwt-console source code

2011-02-05 Thread Mauricio Salatino
Right now the jBPM project is being handled separately from drools. They are trying to clean it up. Did you check: https://github.com/krisv/jbpm/tree/master/jbpm-gwt Greetings. On Sat, Feb 5, 2011 at 7:39 PM, gs76pl wrote: > > hi, > > thanks for your info but i think that the code i've been l

[rules-users] Accumulating over a list of collected events (bug?)

2011-02-05 Thread OlliSee
Hi folks, another bug discovered here? This rule yields a really nice exception rule "Test" when $list : List() from collect ( A() over window:time(5s) ) Number($avg : doubleValue) from accumulate( A($num : num) from $list, average($num)) then

[rules-users] On demand events

2011-02-05 Thread James Willans
Hello, I'm a new user of Drools and have experimented with the basics. I am interested in processing events and have had success when defining rules of the type: rule "example" when Event1(..) from entry-point Event1Store Event2(..) from entry-point Event2Store then System

Re: [rules-users] gwt-console source code

2011-02-05 Thread gs76pl
hi, thanks for your info but i think that the code i've been looking for is at https://github.com/heiko-braun/bpm-console . At least it contains all gwt code of the gwt-console (tasks management i.e. claim, complete etc) do you know why all this code kept not in a one place e.g. droolsjbpm? it t

Re: [rules-users] gwt-console source code

2011-02-05 Thread Mauricio Salatino
Now jBPM is decoupled from drools https://github.com/krisv/jbpm/tree/master/jbpm-gwt That's what you are looking for.. Greetings On Sat, Feb 5, 2011 at 6:57 PM, gs76pl wrote: > > hi, > i got all the source code from github but still gwt part of the code of the > console is missing there. Has

Re: [rules-users] How to write a rule that fires when it matches against specific facts in working memory.

2011-02-05 Thread Michael Anstis
Unfortunately "dialect" is not supported in Excel based Decision Tables (and the guided Decision Table in Guvnor is not currently sophisticated enough to support your requirement). Feel free to look into the code (org.drools.decisiontable.parser.DefaultRuleSheetListener is a good starting point in

Re: [rules-users] gwt-console source code

2011-02-05 Thread gs76pl
hi, i got all the source code from github but still gwt part of the code of the console is missing there. Has anyone got any suggestions where this code is -- View this message in context: http://drools-java-rules-engine.46999.n3.nabble.com/gwt-console-source-code-tp2431034p2433763.html Sent fro

Re: [rules-users] How to write a rule that fires when it matches against specific facts in working memory.

2011-02-05 Thread groovenarula
Edson/Wolfgang, Thanks to your suggestions, I've got this working the way I need it using rules defined in a .drl file. I think I have just one hurdle left before I start working out how to get it working through decision tables - and that is how to specific 'mvel' dialect for decision tables.

Re: [rules-users] gwt-console source code

2011-02-05 Thread Salaboy
Hi there, the drools / jbpm project is now using git. Go to github.com/droolsjbpm Greetings! - CTO @ http://www.plugtree.com - MyJourney @ http://salaboy.wordpress.com - Co-Founder @ http://www.jbug.com.ar - Mauricio "Salaboy" Salatino - On 05/02/2011, at 10:36, gs76pl wrote: > > hi, > > w

[rules-users] gwt-console source code

2011-02-05 Thread gs76pl
hi, where can i find gwt-source code with client parts (html pages, gwt code etc)? I went through http://anonsvn.jboss.org/repos/labs/labs/jbossrules/trunk/drools-process/ modules and nowhere can i find this code. All i can find there are some parts of the gwt-console or gwt-console-server :( --

Re: [rules-users] Drools: Compound Value Restriction in Decision Table

2011-02-05 Thread Wolfgang Laun
This is straightforward: You use $param, as usual, in the code snippet, and the list in the cell below: Data coverType in ( $param ) "A","B", "C", "D" "X","Y","Z" To obtain the actual value from the fact, use a binding variable and refer to this in the action. Data $ct: coverType in ( $param )

Re: [rules-users] Drools: Using Declared Types in Decision Tables

2011-02-05 Thread Wolfgang Laun
2011/2/4 David Smith > Hi, > > I am trying to use a declared type in a decision table > but get an "Unable to resolve ObjectType" message. > > The declared type is in a file types.drl, > I have a spreadsheet test.xls that has a Ruleset with > an import line for the declared type. > > Is it possib