[rules-users] Test Scenario not firing rule when a ruleflow-group is defined

mpgong michael.p.gong at lmco.com
Thu Nov 8 13:10:22 EST 2012


Hello,

I created a simple rule using the guvnor drl editor - it looks like this:
rule "Rule1"
	no-loop true
	ruleflow-group "CheckOne"
when
 	$ca : TestFact()
then
 	System.out.println("Hello World");
end

when i create the scenario, where i insert a TestFact() object and added the
expected rule to fire 'Rule1' and then hit the run scenario, the output said
Rule1 was not activated and no rule fired.  However, when i take the rule
flow group out it fires.
Any idea why this might be.  Now i am able to use ruleflow-groups in my
application but those rules where built with the decision tables (xls) and
uploaded to guvnor.  

The new set of rules are small and simple so i was just going to create them
using drl.  This seems to be causing me problems because i'm trying to run
these rules from a process and they aren't firing in there either.

Thanks





--
View this message in context: http://drools.46999.n3.nabble.com/Test-Scenario-not-firing-rule-when-a-ruleflow-group-is-defined-tp4020761.html
Sent from the Drools: User forum mailing list archive at Nabble.com.


More information about the rules-users mailing list