Can you give us a use case for that situation?<br>to be able to understand the problem.<br>Greetings.<br><br><div class="gmail_quote">On Fri, Apr 30, 2010 at 9:03 AM, Ed Staub <span dir="ltr"><<a href="mailto:estaub@telcordia.com">estaub@telcordia.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><br>
If the same event-node is triggered twice with different data, the same<br>
variable will be recycled for the different data payloads. How does one<br>
ensure that data is not lost?<br>
<br>
My best guess is to follow the event node with a composite node, and copy<br>
the top-level variables into the composite's variable scope in the first<br>
sub-node of the composite. But I'm not sure whether I can guarantee that<br>
the composite will be able to do that before the engine handles the second<br>
event.<br>
<br>
Suggestions?<br>
<font color="#888888">--<br>
View this message in context: <a href="http://drools-java-rules-engine.46999.n3.nabble.com/Flow-handling-multiple-events-of-the-same-kind-tp767773p767773.html" target="_blank">http://drools-java-rules-engine.46999.n3.nabble.com/Flow-handling-multiple-events-of-the-same-kind-tp767773p767773.html</a><br>
Sent from the Drools - User mailing list archive at Nabble.com.<br>
_______________________________________________<br>
rules-users mailing list<br>
<a href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/rules-users" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a><br>
</font></blockquote></div><br><br clear="all"><br>-- <br> - <a href="http://salaboy.wordpress.com">http://salaboy.wordpress.com</a><br> - <a href="http://www.jbug.com.ar">http://www.jbug.com.ar</a><br> - Salatino "Salaboy" Mauricio -<br>