[rules-users] Test Scenarios with Rule Flows in 5.1.1 Guvnor
kylin8627live
kylin8627 at live.com
Thu Mar 31 01:42:28 EDT 2011
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.
More information about the rules-users
mailing list