This content has been marked as final.
Show 2 replies
-
1. Re: Passing variables to signalEvent
salaboy21 Sep 9, 2011 6:32 PM (in response to dondragon2)You usually should send an object that will represent the event that you are signalling. I usually send something more representative like an object that represent the event and in the case that you need to send a map of parameter you should create an object to wrap that map and add more semantic meaning to the event. You can take a look at the emergency services application to see how we are sending events and how we are using that information in different activities of the process.
https://github.com/Salaboy/emergency-service-drools-app
Best Regards
-
2. Re: Passing variables to signalEvent
eaa Sep 12, 2011 4:27 AM (in response to dondragon2)As Mauricio mentioned, the best and more clear way to handle events is to have your own Event class with all the attributes you need. Using a Map is a dirty solution in my opinion.