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

2011-03-31 Thread kylin8627live
This morning I tested it, it works fine. My startProcess rule like this. rule "StartProcess" salience 100 when eval(true); then #kcontext.getKnowledgeRuntime().startProcess("ProcessName"); drools.getWorkingMemory().startProcess("Proc

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

2011-03-31 Thread Jeffrey DeLong
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,

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

2011-03-31 Thread Mauricio Salatino
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 wrote: > Hi Jeff, > > I met the same problem. I added the rule you mention to Guvnor and it is > able to trig

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

2011-03-30 Thread kylin8627live
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 fi

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

2011-03-30 Thread Jeffrey DeLong
Add a rule with a higher salience that starts the rule flow process rule "StartProcess" salience 100 when #conditions then #actions kcontext.getKnowledgeRuntime().startProcess("processname"); end And add it to your

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

2011-03-30 Thread John Peterson
Hi all, I had (hopefully) a quick question about trying to test rules in rule flows in Guvnor with Drools 5.1.1. I have a simple 4 step rule flow (Start-RuleGroup1-RuleGroup2-End) with 1 rule in each Rule group. When I set up the test scenario to fire the first rule, which will trigger the se