commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rahul Akolkar" <rahul.akol...@gmail.com>
Subject Re: SCXML
Date Fri, 28 Dec 2007 23:05:25 GMT
Please use descriptive email subjects. The convention (since this is a
shared mailing list) is to use [SCXML] as a prefix followed by a
suitable subject. It also helps the archives to have better subjects.

On 12/28/07, Lupu Slobodu <lupu.slobodu@gmail.com> wrote:
> Suppose the event E1 triggered a state machine transition from S1 to S2. How
> can one make this event (more precisely it's payload) available for the
> actions being executed by the state  S2?
>

If the actions are within S2's <onentry>, you can access the payload
as the special variable '_eventdata'.

If the actions are in other executable content, you'll need to persist
the payload in a <datamodel> (either S2 or ancestors) using suitable
<assign> statements when the payload is accessible (such as, in S2's
<onentry>).

-Rahul

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@commons.apache.org
For additional commands, e-mail: user-help@commons.apache.org


Mime
View raw message