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

2010-05-19 Thread H.C.

This issue seems to be remedied by placing each flow in its own package. I
still don't know if this is a bug or a feature.
-- 
View this message in context: 
http://drools-java-rules-engine.46999.n3.nabble.com/Wrong-flow-script-task-executes-when-multiple-flows-are-loaded-tp826751p830193.html
Sent from the Drools - User mailing list archive at Nabble.com.
___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users


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

2010-05-18 Thread H.C.

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.
___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users