in 6.x you do not necessarily have to set the salience any more. As LoadOrder is applied,
and rules will be evaluated by the order of position within the file.
Mark
On 11 Aug 2014, at 15:30, Michael Anstis <michael.anstis(a)gmail.com> wrote:
The sequential flag controls the rule's salience per XLS
worksheet.
Rule's RHS are executed according to their salience values and hence the sequential
flag will control the rules RHS execution order.
See
http://docs.jboss.org/drools/release/6.1.0.Final/drools-docs/html/ch06.ht...
and
http://docs.jboss.org/drools/release/6.1.0.Final/drools-docs/html/DroolsL...
for more information.
If you want to control the execution across multiple Decision Tables you'll need to
define the rows salience manually, with the "highest priority" Decision Table
having values higher than the lower priority tables.
On 11 August 2014 15:17, sjrcgtek <steve.cgtek(a)gmail.com> wrote:
Apologies if this is already answered but I could not find it.
Drools Version 6.1.0.Final
I have three Excel DTs which I would like to fire in order. The Sequential
option appears to just order the rules within an excel DT. I confirmed that
by printing the resulting rules and see that the generated rules from
different sheets have the same priority.
I can manually set the PRIORITY in the actual sheets, but that makes
inserting sheets or even lines in a sheet cumbersome.
Is there a way to tell drools to fire all rules across all DT's
sequentially?
Thanks.
--
View this message in context:
http://drools.46999.n3.nabble.com/Sequential-and-Decision-Tables-tp403063...
Sent from the Drools: User forum mailing list archive at
Nabble.com.
_______________________________________________
rules-users mailing list
rules-users(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users
_______________________________________________
rules-users mailing list
rules-users(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users