Are rules 1 through 5 controlling any independent actions with
*additional* constraints? Then you might do
rule "greater 1000"
when
ShoppingCart( amount > 1000, $articles: articles )
then
end
rule 1
extends "greater 1000"
when
$bonusArt: Article( bonus == true )
eval( $articles.contains( $bonusArt ) )
then
...
end
snd so on for 2 thru 5.
-W
On 17/06/2013, mr_kapa_23 <kelton.silva(a)partnersolutions.pt> wrote:
I know that i can't Run Rule.
But i need a solution like the example of the picture..
I will explain what i need do.
I'm doing a store simulator , that accepts online shopping.
And in my flow i want say :
To any spopping above 1000 $ i want "run" the rule 1 through 5 .
You can help with this?
--
View this message in context:
http://drools.46999.n3.nabble.com/Conditional-Execution-Rules-in-Drools-G...
Sent from the Drools: Developer (committer) mailing list mailing list
archive at
Nabble.com.
_______________________________________________
rules-dev mailing list
rules-dev(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-dev