All rules in a decision table will execute if they match the criteria
(facts) inserted into Working Memory. You can use a guard-fact to prevent
other rules from firing; if need be.
In the ACTION insert a "result fact" and check the "result fact" does
not
exist in the CONDITION; for example (in DRL, but you should be able to work
out what you'd need to do with the decision table).
when
not Result()
MyFact( $f : field == 10)
then
insert(new Result( $f ) );
On 11 June 2013 14:46, Raju Bandaru <raju_bandaru(a)infosys.com> wrote:
Hi,
I have a requirement as execute the set of rules as a one rule which had
defined in Decision table.Could you please provide me some guidance with
respect to this requirement.
One rule which internally contains set of rules define in excel sheet
(decision table) should execute and returns the one result.
Can we achieve this kind of requirement in Drools Guvnor?
Regards,
Raju
--
View this message in context:
http://drools.46999.n3.nabble.com/Grouping-Rules-in-Decision-table-approa...
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