[rules-users] Flow - handling multiple events of the same kind

Ed Staub estaub at telcordia.com
Fri Apr 30 09:03:42 EDT 2010


If the same event-node is triggered twice with different data, the same
variable will be recycled for the different data payloads.  How does one
ensure that data is not lost?

My best guess is to follow the event node with a composite node, and copy
the top-level variables into the composite's variable scope in the first
sub-node of the composite.  But I'm not sure whether I can guarantee that
the composite will be able to do that before the engine handles the second
event.

Suggestions?
-- 
View this message in context: http://drools-java-rules-engine.46999.n3.nabble.com/Flow-handling-multiple-events-of-the-same-kind-tp767773p767773.html
Sent from the Drools - User mailing list archive at Nabble.com.



More information about the rules-users mailing list