[rules-users] Test Scenarios with Rule Flows in 5.1.1 Guvnor
Mauricio Salatino
salaboy at gmail.com
Thu Mar 31 04:51:47 EDT 2011
The question is, when are you firing all the rules(activations)? In other
words, when are you calling the fireAllRules() method?
Greetings.
On Thu, Mar 31, 2011 at 2:42 AM, kylin8627live <kylin8627 at live.com> wrote:
> Hi Jeff,
>
> I met the same problem. I added the rule you mention to Guvnor and it is
> able to triggered nodes in my ruleflow. However, still no rules were fired.
> I guess rules are not assigned to ruleflow-groups because it mentions
> [size=0].
> In rules I set up ruleflow-group properties and they work fine in Eclipse.
> Am I missing something?
>
> Following is a part of audit log
>
>
> FIRING rule: [StartProcess] activationId:StartProcess [0] declarations:
> BEFORE RULEFLOW STARTED process:flow[id=eLearningWF]
> BEFORE RULEFLOW NODE TRIGGERED node:Start[id=1]
> process:flow[id=eLearningWF]
> null process:flow[id=eLearningWF]
> BEFORE RULEFLOW NODE TRIGGERED node:CorrectInitQuestion[id=2]
> process:flow[id=eLearningWF]
> BEFORE RULEFLOW GROUP ACTIVATED group:CorrectInitQuestion[size=0]
> AFTER RULEFLOW GROUP ACTIVATED group:CorrectInitQuestion[size=0]
> AFTER RULEFLOW NODE TRIGGERED node:CorrectInitQuestion[id=2]
> process:flow[id=eLearningWF]
> null process:flow[id=eLearningWF]
> AFTER RULEFLOW NODE TRIGGERED node:Start[id=1]
> process:flow[id=eLearningWF]
> AFTER RULEFLOW STARTED process:flow[id=eLearningWF]
> BEFORE RULEFLOW GROUP DEACTIVATED group:CorrectInitQuestion[size=0]
> AFTER RULEFLOW GROUP DEACTIVATED group:CorrectInitQuestion[size=0]
> null process:flow[id=eLearningWF]
> BEFORE RULEFLOW NODE TRIGGERED node:WrongInitQuestion[id=14]
> process:flow[id=eLearningWF]
> BEFORE RULEFLOW GROUP ACTIVATED group:WrongInitQuestion[size=0]
> AFTER RULEFLOW GROUP ACTIVATED group:WrongInitQuestion[size=0]
> AFTER RULEFLOW NODE TRIGGERED node:WrongInitQuestion[id=14]
> process:flow[id=eLearningWF]
> null process:flow[id=eLearningWF]
> BEFORE RULEFLOW GROUP DEACTIVATED group:WrongInitQuestion[size=0]
> AFTER RULEFLOW GROUP DEACTIVATED group:WrongInitQuestion[size=0]
> null process:flow[id=eLearningWF]
>
> Does "null process:flow[id=eLearningWF]" indicate anything?
>
> Really appreciated if someone can provide some helps.
>
> Best,
> Weilin
>
> --
> View this message in context:
> http://drools-java-rules-engine.46999.n3.nabble.com/Test-Scenarios-with-Rule-Flows-in-5-1-1-Guvnor-tp2754820p2757301.html
> Sent from the Drools - User mailing list archive at Nabble.com.
> _______________________________________________
> rules-users mailing list
> rules-users at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users
>
--
- CTO @ http://www.plugtree.com
- MyJourney @ http://salaboy.wordpress.com
- Co-Founder @ http://www.jbug.com.ar
- Salatino "Salaboy" Mauricio -
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20110331/acbce1c7/attachment.html
More information about the rules-users
mailing list