Re: [rules-users] How to create nested rules in Drool Guvnor

2009-08-22 Thread Marc Dzaebel
Correction: extends works but is obviously undocumented. It adds the when part of the extended rule. -- View this message in context: http://www.nabble.com/How-to-create-nested-rules-in-Drool-Guvnor-tp24943230p25100575.html Sent from the drools - user mailing list archive at Nabble.com.

Re: [rules-users] How to create nested rules in Drool Guvnor

2009-08-19 Thread Marc Dzaebel
Michael Rhoden wrote: > > You can do this using the "extends" keyword in your rule. > You can't use extends in the rule header. -- View this message in context: http://www.nabble.com/How-to-create-nested-rules-in-Drool-Guvnor-tp24943230p25043217.html Sent from the drools - user mailing lis

Re: [rules-users] Can a rule be part of different rule flow groups

2009-08-16 Thread Marc Dzaebel
surya_n2007 wrote: > Can a rule be part of different rule flow groups. Is it possible as per > below example a rule can be part of RFG1,RFG2.Please explain how we can > share rules using version 4.0.7 and rule flows are used in our project. > > rule "GoodBye" ruleflow-group "RFG1" ruleflow-grou

[rules-users] Exception Handlers for RuleFlow are not described

2009-08-14 Thread Marc Dzaebel
You can add exception handlers to the field "Exception Handlers" of process nodes. There are several references in the Documentation but no example. Did someone succeed using this field? See https://hudson.jboss.org/hudson/job/drools/lastSuccessfulBuild/artifact/trunk/target/docs/drools-flow/html

Re: [rules-users] Drools 5 RuleFlow error in constraints of simplest split node

2009-08-10 Thread Marc Dzaebel
Mauricio Salatino wrote: > > It's weird that it doesn't work if you don't put that.. that must be the > default value.. I isolated the problem to reseting the node type from OR to AND which doesn't clean the constraint information correctly. The workaround is to simply reinsert the node + const

Re: [rules-users] Drools 5 RuleFlow error in constraints of simplest split node

2009-08-10 Thread Marc Dzaebel
The process works, if I insert toType="DROOLS_DEFAULT" into the constraint nodes. -- View this message in context: http://www.nabble.com/Drools-5-RuleFlow-error-in-constraints-of-simplest-split-node-tp24901923p24904785.html Sent from the drools - user mailing list archive at Nabble.com.

Re: [rules-users] Drools 5 RuleFlow error in constraints of simplest split node

2009-08-10 Thread Marc Dzaebel
Mauricio Salatino wrote: > > Yes.. that's because you are using an OR split.. it can not support both > constraints to be true. In other words if you use a type="3" split you > don't > need to put that constraints because just one will be triggered. > If you want an XOR or an AND split change th

[rules-users] Drools 5 RuleFlow error in constraints of simplest split node

2009-08-10 Thread Marc Dzaebel
Hi, after creating the standard RuleFlow example with Drools 5 in Eclipse, adding a gateway with two (true) constraints leads to the following error "org.drools.compiler.RuleFlowLoadError: Unable to load the rule flow. : Exception class org.xml.sax.SAXParseException : requires a 'toType' attribu

Re: [rules-users] JPA persistence for Drools Flow

2009-04-08 Thread Marc Dzaebel
Kris Verlaenen wrote: > > Note that the model of the history information is different from the > runtime model, and contains all the nodes that were triggered (and > possibly completed). So new data gets added to this process instance log > every time something new happens, there's no different

Re: [rules-users] JPA persistence for Drools Flow

2009-04-07 Thread Marc Dzaebel
Hi Kris, thanks for your thorough and quite helpful explanation! Kris Verlaenen wrote: > > ... concrete plans in adding separate persistence of process instance > variables in the database. I expect this to be added to trunk in a few > weeks time. > So it could be in in Drools 5.0? I think th

[rules-users] JPA persistence for Drools Flow

2009-04-06 Thread Marc Dzaebel
Hi, w're evaluating Drools Flow 5 as a process engine for bigger projects at Volkswagen in a world wide szenario. There is one crucial question about process persistence. Process instances are currently saved binary (@LOB) via ObjectOutputStream and ByteArrayOutputStream through JPA. May be this

Re: [rules-users] Drools 5 et SEAM 2.1.1

2009-03-31 Thread Marc Dzaebel
Mark Proctor wrote: > > have you added the drools-core jar, as > org.drools.WorkingMemory.fireAllRules() as a method on an interface is > there. > All 15 jar's are in my classpath (drools-core.jar too). However, I get massive deprecation warnings like: Discouraged access: The method fireA

Re: [rules-users] Drools 5 et SEAM 2.1.1

2009-03-25 Thread Marc Dzaebel
Drools 5 had to change it's API mainly to overcome the rule-centric in favour of a knowledge centric approach. See http://hudson.jboss.org/hudson/job/drools/lastSuccessfulBuild/artifact/trunk/target/docs/index.html http://hudson.jboss.org . Note that Drools Flow 5 is now able to act as a notica