
In the scenario I'm thinking of, we have an event which says "data is available" from a data source. We don't want to put the data itself in the event, because it's very large and/or very expensive to obtain, and it might or might not be of interest. Instead, the event contains a token that can be used to request the data if it turns out to be needed. So on receipt of that "data is available" event, we'll transition to a new state that can determine whether it needs to obtain the data or not, and if so, to use the token to get it. But as it stands now, the new state doesn't have access to the token.
Ok. How do you determine whether you'll query the data source? Do you need to wait for more events or can this be determined with the token only? -- Andreas Huber When replying by private email, please remove the words spam and trap from the address shown in the header.