[rules-users] Test Scenario not firing rule when a ruleflow-group is defined
Toni Rikkola
toni.rikkola at gmail.com
Mon Nov 12 07:49:44 EST 2012
Sounds like a bug. To help fix this you could create a Jira with a simple test repository export.
Toni
On Nov 8, 2012, at 8:10 PM, mpgong wrote:
> 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.
> _______________________________________________
> rules-users mailing list
> rules-users at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users
More information about the rules-users
mailing list