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.
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
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
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
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
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.
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
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
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
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
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
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
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
13 matches
Mail list logo