[rules-users] Decision tables / Templates and Change Sets

2009-06-10 Thread Malenfant, Andre
Now a question on Change Sets: Can a change set contain rule templates and their corresponding decision table? The way do use templates, as I have done at least and found in the documentation, is to use an ExternalSpreadSheetCompiler to generate the final rules using the templates and decis

RE: [rules-users] re: NumberGuessExample

2009-06-10 Thread Malenfant, Andre
Sorry, I gave you instruction for the imports and globals... - Open the Properties view in Eclipse - Select the background of the flow (unselect any selected items) - The Properties view should refresh - The package property should be available for edit in

RE: [rules-users] re: NumberGuessExample

2009-06-10 Thread Malenfant, Andre
You have to open the constraints panel on the Split Node of the diagram (Blue conditional ellipse) in the properties view in Ecplise... From: rules-users-boun...@lists.jboss.org [mailto:rules-users-boun...@lists.jboss.org] On Behalf Of Tak-po Li Sent: Wednesday, June 10, 2009 4:08 PM To: Rules

RE: [rules-users] Constaint evaluation

2009-06-10 Thread Malenfant, Andre
ctable. Likewise, you can use globals in conditions, and change the value of the global as you go, but the results are unpredictable. --- On Wed, 6/10/09, Malenfant, Andre wrote: > From: Malenfant, Andre > Subject: RE: [rules-users] Constaint evaluation > To: "Kris Verlaenen&q

RE: [rules-users] Constaint evaluation

2009-06-10 Thread Malenfant, Andre
Yes, it does answer my question. Thanks! -Original Message- From: Kris Verlaenen [mailto:kris.verlae...@cs.kuleuven.be] Sent: Wednesday, June 10, 2009 3:54 PM To: Malenfant, Andre Cc: Rules Users List Subject: RE: [rules-users] Constaint evaluation Globals are mostly used to register a

RE: [rules-users] Constaint evaluation

2009-06-10 Thread Malenfant, Andre
erlae...@cs.kuleuven.be] Sent: Wednesday, June 10, 2009 11:38 AM To: Rules Users List; Malenfant, Andre Cc: Rules Users List Subject: Re: [rules-users] Constaint evaluation It depends on what type of constraint you are using. If you are using a rule constraint, that constraint will be evaluated just the same as n

[rules-users] Constaint evaluation

2009-06-10 Thread Malenfant, Andre
/updating objects in the working memory? The documentation is not really useful (unless I haven't found the appropriate one). Thanks André -Original Message- From: rules-users-boun...@lists.jboss.org [mailto:rules-users-boun...@lists.jboss.org] On Behalf Of Malenfant, Andre Sent: Wedn

RE: [rules-users] Globals in ruleflow

2009-06-10 Thread Malenfant, Andre
oaded, my globals were not available. Since the DRL declared the same globals it should not have given me that error. Thanks -Original Message- From: Kris Verlaenen [mailto:kris.verlae...@cs.kuleuven.be] Sent: Tuesday, June 09, 2009 5:51 PM To: Rules Users List; Malenfant, Andre Cc: Rules

[rules-users] Globals in ruleflow

2009-06-08 Thread Malenfant, Andre
I am experimenting with rule flows and I get the following error: Unexpected global [myglobal] When calling setGlobal on the session. This code works without the workflow (globals declared in the drl) but fails when I include the rule flow. I declared the same globals in the rule flow in the hea

RE: [rules-users] Templates / Generated rules debugging

2009-06-08 Thread Malenfant, Andre
To: Rules Users List Subject: Re: [rules-users] Templates / Generated rules debugging Yes, check this out: http://blog.athico.com/2008/02/looking-under-drools-skirt.html Am 08.06.2009 um 18:34 schrieb Malenfant, Andre: > Is it possible to see the generated Java code for the ru

RE: [rules-users] Templates / Generated rules debugging

2009-06-08 Thread Malenfant, Andre
gin can be used to view these logs). To be useful, this requires a usable toString, we have created those using apache commmons-lang. Happy hunting! -- Ingomar Am 08.06.2009 um 17:46 schrieb Malenfant, Andre: > Hi, > > > > Can some of your share your technique f

[rules-users] Templates / Generated rules debugging

2009-06-08 Thread Malenfant, Andre
Hi, Can some of your share your technique for debugging/troubleshooting rules: Here is the situation: - I have a web application that uses rules at specific points. - I use templates and decision tables so the actual rules are compiled by my application using a sprea

RE: [rules-users] Default rule

2009-06-04 Thread Malenfant, Andre
The ruleflow-group and the State Example from the documentation may be what you're looking for. SG -Original Message- From: rules-users-boun...@lists.jboss.org [mailto:rules-users-boun...@lists.jboss.org] On Behalf Of Malenfant, Andre Sent: Thursday, June 04, 2009 3:47 PM To:

RE: [rules-users] Default rule

2009-06-04 Thread Malenfant, Andre
rule with lowest salience, this will fire _after_ all other rules have fired. Would this help? Am 04.06.2009 um 22:17 schrieb Malenfant, Andre: > Anyone knows if it is possible to have a `default` rule that would > fire only if others have not? > > Also, is there a way, using dec

[rules-users] Default rule

2009-06-04 Thread Malenfant, Andre
Anyone knows if it is possible to have a `default` rule that would fire only if others have not? Also, is there a way, using decision tables in XLS, to look if the value of a field is contained in a list elsewhere in the XLS? Thanks André __