commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Riccardo Manoni <>
Subject RE: [SCXML] updte data model
Date Thu, 13 Dec 2012 00:16:24 GMT
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=""

        <data id="time" expr="1"/>
    <state id="reset">
            <log label="entered on reset" expr="'xXx'"/>
            <assign name="time" expr="0"/>
        <transition event="watch.start"   target="running"/>
            <log label="time is" expr="time"/>
            <log label="exited from reset" expr="'xXx'"/>

    <state id="running">
            <log label="entered on running" expr="'xXx'"></log>
        <transition event="watch.split"   target="paused">
            <send event="'watch.stop'" delay="'2s'"/>
        <transition event="watch.stop"    target="stopped"/>
            <log label="exited from running" expr="'xXx'"></log>

    <state id="paused">
            <log label="entered on paused" expr="'xXx'"></log>
        <transition event="watch.unsplit" target="running"/>
        <transition event="watch.stop"    target="stopped"/>
            <log label="exited from paused" expr="'xXx'"></log>

    <state id="stopped">
            <log label="entered on stopped" expr="'xXx'"></log>
        <transition event="watch.reset"   target="reset"/>
            <log label="exited from stopped" expr="'xXx'"></log>



Do you have a command line version of the product working?  I have been trying to get the
example to work.  If someone can help me with that, I'll take a look at why 'delay' isn't

- Jim

-----Original Message-----
From: Riccardo Manoni [] 
Sent: Wednesday, December 12, 2012 5:28 PM
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.

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message