Hi Rahul, > This could be related to SCXML-54 [1], though its hard to say without > further details.
As far as I see, SCXML-54 is not related. Your suggestion below however indeed solves my problem. I had actually tried that once and it failed, hence the post. Obviously I had made a mistake, perhaps omitting it from the namelist. Thanks very much for setting me straight! -chris > Note that depending on how long you want the _eventdata to persist > (beyond the processing cycle for the current event) you may need to > persist it via the <datamodel>. However, it is not necessary to do a > "field-by-field" copy since a <data> is not enforced to be an XML > tree. Ofcourse, if it isn't, its no longer possible to use XPath to > identify pieces of the <data>. > The following snippet illustrates how the entire payload of the event > "foo.done" is used in a subsequent <send>'s namelist. > <!-- Root or composite state datamodel --> > <datamodel> > <data name="payload"/> > </datamodel> > > <state id="foo"> > <transition event="foo.done" target="bar"> > <assign name="payload" expr="_eventdata" /> > </transition> > </state> > > <state id="bar"> > <transition event="bar.done" target="baz"> > <send ... namelist="payload etc"/> > </transition> > </state> > ... > > -Rahul --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
