Re: [rules-users] RuleFlow not Found

2012-06-26 Thread abhinay_agarwal
why is der no .rf file in my HELLO WORLD project.. Where can i read about how to configure a .bpmn flow rule ??? Please can some1 lemme know...is there any difference using a RULEFLOW FILE (.rf) and a FLOW FILE (.bpmn) Thanks, Abhinay -- View this message in context: http://drools.46999.n3.nab

[rules-users] how to avaide overwrinting results in drools planner

2012-06-26 Thread Ricardo
I have 2 boxes, lets say each size of 5x5 and I have 3 items two size 4x4 and one item size is 3x3. planner initially planner assigning as follows... I - When I use 3 items 2 boxes(this produce wrong planning) item1 (4x4) --> box1 (5x5) item2 (4x4) --> box2 (5x5) item3 (4x4) --> box1 (5x5)

Re: [rules-users] Trivial DecitionTable issue or bug?

2012-06-26 Thread Wolfgang Laun
>From the Expert manual (emphasis by me)l: "*All Rule Tables begin with a cell containing "RuleTable"*, optionally followed by a string within the same cell. The string is used as the initial part of the name for all rules derived from this Rule Table, with the row number appended for distinction.

Re: [rules-users] RuleFlow not Found

2012-06-26 Thread Vincent LEGENDRE
Yep, but this is because the sample is quite old now. If one day they decide to get rid with .rf files, it's better to start using jbpm format. Oh yeah, sample should be upgraded too ... - Mail original - De: "paco" À: rules-users@lists.jboss.org Envoyé: Mardi 26 Juin 2012 17:24:06

Re: [rules-users] Trivial DecitionTable issue or bug?

2012-06-26 Thread drdaveg
It is better if I type them here NAME Rulename "DT Fare Itinerary Compute Discount 1" "DT Fare Itinerary Compute Discount 2" "DT Fare Itinerary Compute Discount 3" "DT Fare Itinerary Compute Discount 4" DT-Fare-Itinerary-Compute-Discount5 I tried with and without quotes. The suffixed RuleTable

Re: [rules-users] Trivial DecitionTable issue or bug?

2012-06-26 Thread Wolfgang Laun
Can't see the entries below "NAME", which doesn't help. Can't you post a suitably chastened spreadsheet? -W On 26 June 2012 17:53, drdaveg wrote: > I am running decision tables implemented in Excel and the values in the > NAME > column are being ignored in favor of the RuleTable (appended with

[rules-users] Trivial DecitionTable issue or bug?

2012-06-26 Thread drdaveg
I am running decision tables implemented in Excel and the values in the NAME column are being ignored in favor of the RuleTable (appended with an int). Am I missing something trivial or is this a bug in DROOLS 5.4? I have attached the screen capture (it is small) but scrunch the non-relevant part

Re: [rules-users] RuleFlow not Found

2012-06-26 Thread paco
I am using Drools 5.4.0, when I create a simple HelloWorld project the file. rf is also created, from here I can know how I can create files. rf. This can help you to solve your problem. Paco -- View this message in context: http://drools.46999.n3.nabble.com/RuleFlow-not-Found-tp4018251p4018271

Re: [rules-users] RuleFlow not Found

2012-06-26 Thread Vincent LEGENDRE
up to drools 5.1 (more or less), the new default is jbpm flows, for rules or not. JBPM let you do what you can do with former .rf files. To be shorter : It is the same, at least seen from a ruleflow usage. Before you ask : you need to add jbpm jars to your drools runtime in order to make the

Re: [rules-users] RuleFlow not Found

2012-06-26 Thread abhinay_agarwal
yeah !! -- View this message in context: http://drools.46999.n3.nabble.com/RuleFlow-not-Found-tp4018251p4018269.html Sent from the Drools: User forum mailing list archive at Nabble.com. ___ rules-users mailing list rules-users@lists.jboss.org https://li

Re: [rules-users] RuleFlow not Found

2012-06-26 Thread paco
What editor do you use? Eclipse? -- View this message in context: http://drools.46999.n3.nabble.com/RuleFlow-not-Found-tp4018251p4018268.html Sent from the Drools: User forum mailing list archive at Nabble.com. ___ rules-users mailing list rules-users

Re: [rules-users] Write Assumptions for NESTED List

2012-06-26 Thread aliosha79
ok don't worry... you was really helpful ... i know what to do ;) ... i'll let you know. Thanks again. -- View this message in context: http://drools.46999.n3.nabble.com/Write-Assumptions-for-NESTED-List-Object-tp4018241p4018267.html Sent from the Drools: User forum mailing list archive at Nabble

Re: [rules-users] Write Assumptions for NESTED List

2012-06-26 Thread Wolfgang Laun
On 26/06/2012, aliosha79 wrote: > thanks for help... but it's not a nonsense... it has a great importance for > me, as i have a lot of constraints to respect... You'll have to obey the DRL syntax rules, and you are bound to follow the givens of your data model. In both respects, your posts exhibi

Re: [rules-users] RuleFlow not Found

2012-06-26 Thread abhinay_agarwal
hi paco, bt this will create a new Drools Project.. I want to create a RULEFLOW for my drool project..which is already der !! -- View this message in context: http://drools.46999.n3.nabble.com/RuleFlow-not-Found-tp4018251p4018265.html Sent from the Drools: User forum mailing list archive at Nab

Re: [rules-users] Write Assumptions for NESTED List

2012-06-26 Thread aliosha79
thanks for help... but it's not a nonsense... it has a great importance for me, as i have a lot of constraints to respect... the work consists of a collage of section of code for building a correct rule. So it's really different for me to use a form or a word instead of another. Thanks again. -- V

Re: [rules-users] Write Assumptions for NESTED List

2012-06-26 Thread Wolfgang Laun
On 26/06/2012, aliosha79 wrote: > What if $measureList: measure from $orderLineList ---> becomes ---> > $measureList: MEASURES from $orderLineList ?? > > is it incorrect syntax? Yes. Stop the nonsense, please. -W ___ rules-users mailing list rule

Re: [rules-users] Issues without response

2012-06-26 Thread Edson Tirelli
Wolfgang, Yes, I agree. We've been careful with that we expose on the knowledge-api, but this is clearly an interface that should be there. Will take care of it. Edson On Tue, Jun 26, 2012 at 5:48 AM, Wolfgang Laun wrote: > @Edson: There is, of course, the fundamental problem of t

Re: [rules-users] Write Assumptions for NESTED List

2012-06-26 Thread aliosha79
Sorry Laune... you wrote: >$measureList: measure from $orderLineList This is incorrect DRL syntax. You have to extract (using "from") the elements of orderLine which are of class OrderLineType, and from these you can extract measure. What if $measureList: measure from $orderLineLi

Re: [rules-users] Write Assumptions for NESTED List

2012-06-26 Thread aliosha79
oh... ok i'll try this and i let you know. Really thanks for your help. Regards. Alessio -- View this message in context: http://drools.46999.n3.nabble.com/Write-Assumptions-for-NESTED-List-Object-tp4018241p4018260.html Sent from the Drools: User forum mailing list archive at Nabble.com.

Re: [rules-users] RuleFlow not Found

2012-06-26 Thread paco
Hi abhinay_agarwal ! Try this: FILE -> NEW -> OTHERS -> DROOLS ->Drools Project -> Name of project... -- View this message in context: http://drools.46999.n3.nabble.com/RuleFlow-not-Found-tp4018251p4018258.html Sent from the Drools: User forum mailing list archive at Nabble.com. __

Re: [rules-users] Write Assumptions for NESTED List

2012-06-26 Thread Wolfgang Laun
On 26/06/2012, aliosha79 wrote: > Laune, > i need to know if this form is correct: > > when >$order: OrderType( $orderLineList: this.orderLine, priority != high ) (You could omit "this.") >$measureList: measure from $orderLineList This is incorrect DRL syntax. You have to extract (using

Re: [rules-users] Write Assumptions for NESTED List

2012-06-26 Thread aliosha79
Laune, i need to know if this form is correct: when $order: OrderType( $orderLineList: this.orderLine, priority != high ) $measureList: measure from $orderLineList not ( this.measure < 12 ) from $measureList then modify( $order ){ setPriority( "high" ) } end The reason is that i

Re: [rules-users] Write Assumptions for NESTED List

2012-06-26 Thread Wolfgang Laun
Kindly take my rule as it was written, except for the necessary adjustments for the names of the getter methods. -W On 26/06/2012, aliosha79 wrote: > if i have well understood the DRL code the solution, in a form more > compliant > with my needs, could be something like this: > > > when >$or

Re: [rules-users] Write Assumptions for NESTED List

2012-06-26 Thread aliosha79
if i have well understood the DRL code the solution, in a form more compliant with my needs, could be something like this: when $order: OrderType( $orderLineList: this.orderLine, priority != high ) $measureList: measure from $orderLineList not ( this.measure < 12 ) from $measureList t

Re: [rules-users] Workitems doesn't get persisted when completing a task after rehydrating a knowledge session is some circumstances.

2012-06-26 Thread Mauricio Salatino
Hi Alberto, I'm not upset, kind the opposite. I'm sorry if my comments sounds harsh. I was making some assumptions based on my previous experience. My main point was, let's try to be concrete and let's work on code and failing tests. I know that is not trivial, but if we want to make the project be

Re: [rules-users] Write Assumptions for NESTED List

2012-06-26 Thread Wolfgang Laun
On 26/06/2012, aliosha79 wrote: > Sorry, Laune, you've right, i bag your pardon as my first post was not so > clear. Now i have re-edited it... maybe now the question is clearer. Can > you > read it again? > I don't need to use .size() indeed... my real problem is to access the > nested list prop

[rules-users] RuleFlow not Found

2012-06-26 Thread abhinay_agarwal
hey i want to make a ruleflow using eclipse.. when i go to FILE -> NEW -> OTHERS -> DROOLS -> here i sud get a RULEFLOW FILE option which creates a .rf file.. instead of this m getting a FLOW FILE option which is creating a .bpmn file.. can any1 tellme what is wrong with my eclipse/drools ? --

Re: [rules-users] JBPM & ontology

2012-06-26 Thread Olfa h
Hi I THINK this interpretations can use : 1) Using a BP ontology as a meta-model of BPs, so that BPMN processes would be recognized as instances of the concepts defined in that ontology. You can then "reason" over the precesses themselves. 2012/6/22 Davide Sottara > Hi Olfa, > sorry, I've bee

Re: [rules-users] Write Assumptions for NESTED List

2012-06-26 Thread aliosha79
Sorry, Laune, you've right, i bag your pardon as my first post was not so clear. Now i have re-edited it... maybe now the question is clearer. Can you read it again? I don't need to use .size() indeed... my real problem is to access the nested list properties.. In this case i can access the Quant

Re: [rules-users] Issues without response

2012-06-26 Thread Wolfgang Laun
@Edson: There is, of course, the fundamental problem of the pseudo-clock feature being full-bodiedly announced in Drools Fusion but SessionPseudoClock remaining absent from the stable API. While the Fusion manual emphasizes (correctly) that a pseudo-clock is useful in unit test it's important to no

Re: [rules-users] Write Assumptions for NESTED List

2012-06-26 Thread Wolfgang Laun
The Java code as shown has a somewhat unlikely flavour, with OrderLineMeasure containing the field List. And the names used in the rules don't match the Java code, e.g., getUBLRuleEnginePriority(). And why should a String field quantity indicate the size of a List? But see below for a (better) wa

Re: [rules-users] Workitems doesn't get persisted when completing a task after rehydrating a knowledge session is some circumstances.

2012-06-26 Thread Alberto R. Galdo
Mauricio, seems to me that you're upset. I'm really sorry, I didn't mean it. I didn't mean this thread to become a fud or some kind of rant. Comments inline: On Mon, Jun 25, 2012 at 1:36 PM, Mauricio Salatino wrote: > What I've noticed in the past, doing consulting is that people wants to > migr

Re: [rules-users] Help please!!!

2012-06-26 Thread paco
Hi Toni, It's very interesting to know it. It is possible that it is a bug. I did the test several times but the results are the same. Best regard -- View this message in context: http://drools.46999.n3.nabble.com/Help-please-tp4018136p4018245.html Sent from the Drools: User forum mailing list

Re: [rules-users] News functionalies on Drools verifier

2012-06-26 Thread paco
Thanks -- View this message in context: http://drools.46999.n3.nabble.com/News-functionalies-on-Drools-verifier-tp4018172p4018244.html Sent from the Drools: User forum mailing list archive at Nabble.com. ___ rules-users mailing list rules-users@lists.j