[rules-users] Test Scenarios with Rule Flows in 5.1.1 Guvnor

Jeffrey DeLong jdelong at redhat.com
Thu Mar 31 08:26:03 EDT 2011


I know you said this is only part of the audit log but I don't see any facts inserted or rules being activated. The fact insertion statements should appear before the StartProcess rule is activated. Can you paste the entire audit log for running the test scenario?


On Mar 30, 2011, at 11:42 PM, kylin8627live 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





More information about the rules-users mailing list