commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rahul Akolkar (JIRA)" <>
Subject [jira] Resolved: (SCXML-21) Send an event by delay attribute, with the targettype attribute is absent
Date Tue, 17 Oct 2006 17:10:37 GMT
     [ ]

Rahul Akolkar resolved SCXML-21.

    Resolution: Fixed
      Assignee: Rahul Akolkar

A new EventDispatcher implementation (SimpleScheduler) that provides the ability to deal with
delayed events of the "scxml" <send> targettype has been added. Delay will be processed
as expected in the comment above if this (extensible) EventDispatcher implementation is used.

The delay attribute now supports the following suffixes (ms-milliseconds, s-seconds, m-minutes;
the default being milliseconds).

> Send an event by delay attribute, with the targettype attribute is absent
> -------------------------------------------------------------------------
>                 Key: SCXML-21
>                 URL:
>             Project: Commons SCXML
>          Issue Type: Bug
>    Affects Versions: 0.5
>         Environment: Windows XP Professional (Service Pack 2) - Version: Portuguese
> CPU: Pentium 4; 2,80 GHz; 512 MB
>            Reporter: Raimundo Santos Moura
>         Assigned To: Rahul Akolkar
>             Fix For: 0.6
> There is a bug, when one try to run the code below:
> Scenario: In state "Off", by trigger of the event <ev1>, i need to wait 10s in
state "On"; after this time, i should return to state "Off". The attribute <delay> doesn't
work well (seemingly).
>  <?xml version="1.0"?>
>  <scxml xmlns="" version="1.0" 
>   initialstate="Off">
>         <state id="Off">
>              <transition event="ev1" target="On"/>
>         </state>
>         <state id="On">
>               <onentry>
>                   <log expr="'Inside On...'"/>
>                   <send event="Timer" delay="10s"/>
>               </onentry>
>               <transition event="Timer" target="Off"/>
>               <onexit>
>                   <log expr="'Leaving On...'"/>
>               </onexit>
>        </state>
>  </scxml>

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:


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

View raw message