QUOTE(MATTW @ Nov 13 2007, 07:38 PM)
Hi Matt!
I think there's one problem with your solution. If a statechart continously generates internal triggers, your external trigger will never have the chance to get into the statechart.
What I would like, is to have the InternalQueue exposed to the ouside of the statechart, so that external and internal triggers are handled on equal terms.
(The queue then of course isn't internal anymore, so perhaps it should be renamed to "TriggerQueue").
As mentioned before, we will then also have the benefit of rendering the loop around the statechart superfluous.
And as you pointed out, if we could get triggers to carry data along, that would be great. I think I would prefer a variant instead of a cluster, to avoid sending data that is not of relevance for a specific trigger.
Lars-Göran