Re: [rules-users] Drools-Example.zip - Newbie

2007-09-20 Thread ekke
Mark, I did a first look at Chapter 10. Examples: this helps much to start (still working thru ...) - thx :-) what I'm missing are descriptions of the examples using RuleFlows like NumberGuess and ClinicalPathway but overall: thanks for a great tool, I think my decision was right, to use Drools

Re: [rules-users] RuleFlow, Actions, Milestone

2007-09-20 Thread ekke
aaah - so I can use Milestones for short-living wait-states inside rules (long wait states - waiting for external/manual completion - will be part of jBPM) ekke Mark Proctor wrote: > > A milestone pauses the execution, as a wait state, until a set of > conditions are met. > > Mark > ekke wrot

Re: [rules-users] Drools-Example.zip - Newbie

2007-09-20 Thread Mark Proctor
As part of 4.0.2 we added quite extensive documentation for the examples, not all examples are documented though, but should be enough to keep most people happy. We are just waiting on the IDE fixes before we release 4.0.2. Mark ekke wrote: hi malika, I downloaded drools 4.0.1 examples from:

Re: [rules-users] RuleFlow, Actions, Milestone

2007-09-20 Thread Mark Proctor
A milestone pauses the execution, as a wait state, until a set of conditions are met. Mark ekke wrote: some questions, because I didn't found something in the docs - as I understand it right: a "Split" - constraint is like LHS of a rule an "Action" is like RHS of a rule but what "does" a "Mil

Re: [rules-users] Drools-Example.zip - Newbie

2007-09-20 Thread ekke
hi malika, I downloaded drools 4.0.1 examples from: http://download.jboss.org/drools/release/4.0.1.14754GA/drools-4.0.1-examples.zip then unzip and inside eclipse Import ... General ... Existing projects into workspace select root directory navigate to the drools-examples folder Choose - select

Re: [rules-users] ruleflow-group

2007-09-20 Thread ekke
would be great ;-) ekke Mark Proctor wrote: > > >> maybe sort by ruleflow-group, agenda-group and activation group :) > > -- View this message in context: http://www.nabble.com/ruleflow-group-tf4486773.html#a12804850 Sent from the drools - user mailing list archive at Nabble.com. ___

[rules-users] RuleFlow, packages, ruleflow-group

2007-09-20 Thread ekke
I know, * packages are Collections of related rules * a rule can only belong to one package in the BRMS I can use * categories to structure rules, * one rule can belong to n Categories but this has nothing to do with the execution of rules, only organization In a rule I can define a ruleflow-gr

[rules-users] RuleFlow, Actions, Milestone

2007-09-20 Thread ekke
some questions, because I didn't found something in the docs - as I understand it right: a "Split" - constraint is like LHS of a rule an "Action" is like RHS of a rule but what "does" a "Milestone" - constraint ? when do I use a Milestone ? thx for info ekke -- View this message in context:

Re: [rules-users] ruleflow-group

2007-09-20 Thread Mark Proctor
Kris Verlaenen wrote: inside the RuleFlow editor I have to enter the RuleFlowGroup below the name in the properties view but I have no informations about all the RuleFlowGroups used inside the .drl's. Currently, we kind of assume that, when you are using a ruleflow to describe the order in whi

Re: [rules-users] Creating a RuleFlow in eclipse

2007-09-20 Thread Kris Verlaenen
Strange, could you please specify which version you are using for - eclipse - GEF - Drools so I can try to reproduce this error? Kris - Original Message - From: <[EMAIL PROTECTED]> To: Sent: Thursday, September 20, 2007 7:13 PM Subject: [rules-users] Creating a RuleFlow in eclipse

[rules-users] Re: Date for 2 years ago

2007-09-20 Thread Brian Enderle
Thanks wasabifan, that worked! Brian Enderle ___ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users

Re: [rules-users] Creating a RuleFlow in eclipse

2007-09-20 Thread ekkehard
hi rod, just did the same as you described, all works well, all connection lines can be drawn ekke (4.0.1, eclipse 3.3, Mac OSX 10.4.10) [EMAIL PROTECTED] schrieb: Could someone tell me how to use the RuleFlow editor in Eclipse? I've created a .rf file and I have a Start node. Next I add a S

[rules-users] Creating a RuleFlow in eclipse

2007-09-20 Thread kissro
Could someone tell me how to use the RuleFlow editor in Eclipse? I've created a .rf file and I have a Start node. Next I add a Split node followed by 2 RuleFlow nodes. I select the 'connection' tool, click the Split node and draw a line to my 1st RuleFlow node. I go back to the Split node and t

Re: [rules-users] ruleflow-group

2007-09-20 Thread ekke
thx for the info I added a Feature Request (http://jira.jboss.com/jira/browse/JBRULES-1209) perhaps someone can do this... at the moment I'm working hard to bring all together for an eclipse RCP solution: rule-based (Drools) and business-process-driven (jBPM) later I hopefully will have some tim

Re: [rules-users] ruleflow-group

2007-09-20 Thread Kris Verlaenen
inside the RuleFlow editor I have to enter the RuleFlowGroup below the name in the properties view but I have no informations about all the RuleFlowGroups used inside the .drl's. Currently, we kind of assume that, when you are using a ruleflow to describe the order in which sets of rules should

[rules-users] mismatched token

2007-09-20 Thread Raffaele Viola
Hi all, I generate this drl from using these lines of code. String drl = compiler.compile(getSpreadsheetStream(), InputType.XLS); builder.addPackageFromDrl(new StringReader(drl)); Package pkg = builder.getPackage(); RuleBase ruleBase = RuleBaseFactory.newRuleBase(); when I try to execute ruleBas

[rules-users] ruleflow-group

2007-09-20 Thread ekke
..just working thru the ruleflows (documentation and editor) think I'll use RuleFlows and found one problem: inside the .drl's I define the ruleflow-group, where the drl belongs to inside the RuleFlow editor I have to enter the RuleFlowGroup below the name in the properties view but I have no i

Re: [rules-users] place for import statments

2007-09-20 Thread ekke
thx for soon answer, but here's my next question about import with * is it correct, that import org.a.daten.* is only valid to use classes from org.a.daten like org.a.daten.Class1 but not from sub-packages like org.a.daten.sales.Class2 ? if I import org.a.daten.sales.* it works ekke Mark Proct

Re: [rules-users] place for import statments

2007-09-20 Thread Mark Proctor
rule.package is for the .brl, keep drls self contained. Mark ekke wrote: hi, I installed Drools 4.0.1 and examples. I have seen that there's a file rule.package (//This is a package configuration file //Add imports, globals etc here which will be used by all the rule assets in thise folder.) I'

Re: [rules-users] context-assist drl

2007-09-20 Thread Mark Proctor
This is fixed, not sure which version, but certainly in 4.0.2 which should be out any day now. Mark ekke wrote: hi, the context assist in a .drl editor doesnt show ruleflow-group if hitting ctrl-space ekke ___ rules-users mailing list rules-users

[rules-users] place for import statments

2007-09-20 Thread ekke
hi, I installed Drools 4.0.1 and examples. I have seen that there's a file rule.package (//This is a package configuration file //Add imports, globals etc here which will be used by all the rule assets in thise folder.) I've tested something and noticed, that .drl and .brl "see" these imports. b

[rules-users] context-assist drl

2007-09-20 Thread ekke
hi, the context assist in a .drl editor doesnt show ruleflow-group if hitting ctrl-space ekke -- View this message in context: http://www.nabble.com/context-assist-drl-tf4486254.html#a12793437 Sent from the drools - user mailing list archive at Nabble.com. __

[rules-users] Using collect to group by

2007-09-20 Thread Heyns, Juan
Hello, I am trying to achieve something like a SQL statement equivalent of: SELECTr.property1 AS p1, r.property2 AS p2, SOME_CALCULATION(r.property3) AS p3 FROM right AS r GROUP BY p2, p3 I am not sure if this is valid SQL since I am grouping by a calculated value, but that as