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

Mauricio Salatino salaboy at gmail.com
Fri Apr 30 17:57:54 EDT 2010


Can you give us a use case for that situation?
to be able to understand the problem.
Greetings.

On Fri, Apr 30, 2010 at 9:03 AM, Ed Staub <estaub at telcordia.com> wrote:

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



-- 
- http://salaboy.wordpress.com
- http://www.jbug.com.ar
- Salatino "Salaboy" Mauricio -
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20100430/08b6d097/attachment.html 


More information about the rules-users mailing list