commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Anna Södling <>
Subject Re: Fw: Re: [SCXML] Actions in SCXML
Date Wed, 25 Feb 2009 07:01:28 GMT
Well, unfortunately I'm not allowed to do that. I was thinking about
solving the action-problem by just placing the action as a string in a
var-tag, like this:
<transition event="e1" cond="c" target="s2">
The problem is, I don't know how to reach the var-value from the
transition in my java-code (that uses the Commons engine). 
However,if there is a possible solution where I can place the action
directly in the transition-tag, like the events and conds, with some
variable name, I would like to know that too.


It might be easier to simply create a generator in ArgoUML to generate
from a statechart.


On Tue, Feb 24, 2009 at 2:00 PM, Anna Svdling

> Hello,
> I'm building a diagram-editor for statecharts. The statechart should
> then be transformed into SCXML and run through an interface. The
> interface should be able to send events to and accept actions from the
> statechart. I'm just wondering if there's a (reasonably) simple way to
> express an action in SCXML? I mean, events and conditions can simply
> placed in a transition-tag, but that doesn't seem to be the case with
> actions? I know that you can design "custom actions", but I'm
> if there is some easier way to do it, or if there already is some way
> represent an action?
> Sincerely,
> Anna


<P><p><font face="Arial, Helvetica, sans-serif" size="2" style="font-size:13.5px">_______________________________________________________________<BR>
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message