[rules-users] Wrong flow script task executes when multiple flows are loaded

H.C. canterburry at gmail.com
Tue May 18 12:20:00 EDT 2010


I am observing some strange behavior in drools 5.0.1 which behaved correctly
in 5.1.0-M1. 

I have two different ruleflows defined, each with a script task at the
beginning fetching different types of data from DB. It seems that when both
flows are loaded by drools and I choose to execute the first flow, somehow
the script task from the second flow is executed instead of the script task
of the first flow. When I comment out the second flow from my changeset file
and only load the first flow, things behave correctly, but when both are
loaded, the wrong script task is executed. The strange thing is, just
judging by the audit trail, the correct flow and task names are being
executed except that the completely wrong objects are fetched by the script
task. 

Both flows and tasks have different names and Ids.
-- 
View this message in context: http://drools-java-rules-engine.46999.n3.nabble.com/Wrong-flow-script-task-executes-when-multiple-flows-are-loaded-tp826751p826751.html
Sent from the Drools - User mailing list archive at Nabble.com.



More information about the rules-users mailing list