[News] I'm here again to say you that now i understoond how to get/set datamodel from java method (the main question), so the last unanswered question now is why the "delay" tag don't work to me.
Il giorno 13/dic/2012, alle ore 01:16, Riccardo Manoni ha scritto: > Unfortunately i don't know what you need to run my work with command line. If > needed, this is my complete scxml doc: > > <?xml version="1.0"?> > <scxml xmlns="http://www.w3.org/2005/07/scxml" > version="1.0" > initialstate="reset"> > > <datamodel> > <data id="time" expr="1"/> > </datamodel> > > <state id="reset"> > <onentry> > <log label="entered on reset" expr="'xXx'"/> > <assign name="time" expr="0"/> > </onentry> > <transition event="watch.start" target="running"/> > <onexit> > <log label="time is" expr="time"/> > <log label="exited from reset" expr="'xXx'"/> > </onexit> > </state> > > <state id="running"> > <onentry> > <log label="entered on running" expr="'xXx'"></log> > </onentry> > <transition event="watch.split" target="paused"> > <send event="'watch.stop'" delay="'2s'"/> > > </transition> > <transition event="watch.stop" target="stopped"/> > <onexit> > <log label="exited from running" expr="'xXx'"></log> > </onexit> > </state> > > <state id="paused"> > <onentry> > <log label="entered on paused" expr="'xXx'"></log> > </onentry> > <transition event="watch.unsplit" target="running"/> > <transition event="watch.stop" target="stopped"/> > <onexit> > <log label="exited from paused" expr="'xXx'"></log> > </onexit> > </state> > > <state id="stopped"> > <onentry> > <log label="entered on stopped" expr="'xXx'"></log> > </onentry> > <transition event="watch.reset" target="reset"/> > <onexit> > <log label="exited from stopped" expr="'xXx'"></log> > </onexit> > </state> > > </scxml> > > > > > > ----------------------------- > > Do you have a command line version of the product working? I have been > trying to get the StandaloneJexlExpressions > example to work. If someone can help me with that, I'll take a look at why > 'delay' isn't > working. > > - Jim > > -----Original Message----- > From: Riccardo Manoni [mailto:[email protected]] > Sent: Wednesday, December 12, 2012 5:28 PM > To: [email protected] > Subject: RE: [SCXML] update data model > > Removing the "delay", the "send" work. The state change immediatly from > "paused" to "stopped". > So now we know that the problem is the "delay". > Any help will be greatly appreciated. >
