commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rahul Akolkar" <>
Subject Re: [SCXML] Same event to multiple parallel states
Date Mon, 03 Apr 2006 20:24:28 GMT
On 4/3/06, Rahul Akolkar <> wrote:
> On 4/2/06, Fasih <> wrote:
> The latest SCXML WD also specifies that the special variable
> "_eventdata" may be used to access data contained within the
> triggering event (i.e. the payload). Thus, along the lines of the
> above example, a transition may look like:
> <transition event="connection.alerting"
>                cond="_eventdata.line eq 1"
>                target="..." />
> where the event payload defines a "line" property. This bit (exposing
> payload as "_eventdata") hasn't been done for Commons SCXML yet, but
> I'll do it now. Will ping this thread when am done.

Ping, "_eventdata" should be available in 20060404 nightlies here [1].

Here [2] is a sample based on your snippet, also illustrates using a
user-defined payload ("_eventdata.line" in the expressions under
state2 refers to line property of user-defined payload type [3]).


(long, possibly fragmented, URLs below)

(see ConnectionAlertingPayload type towards end of file)

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message