commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Armel SORO <>
Subject [SCXML] invoke behavior
Date Mon, 23 Mar 2009 11:42:22 GMT
Hi everyone,

I'm currently facing an issue using <invoke> element, not being called.
Below is my case:

<state id="S" initial="S1">

   <state id="S1">
       <onentry><log expr="'loop = '+loop"/></onentry>
       <invoke src="SRC" targettype="vxml">
           <param name="loop" expr="loop"/>
       <transition event="SRC.invoke.done" target="S2"/>

   <state id="S2">
       <transition event="goToNext" cond="loop > '1'" target="S1">
           <assign name="loop" expr="loop-1"/>
       <transition event="goTonext" target="S3"/>

   <final id="S3"/>


The first invocation of 'SRC' is done without any problem, making the state
machine switch from 'S1' to 'S2'.
Once triggered the event "goTonext" while in 'S2', the state machine reaches
'S1' after updating the variable 'loop' but I don't know why the <invoke>
element is not executed once again.
Any reason behind this? I found out that <invoke> occurs only in atomic
states, but this did not help in that case.

Thanks in advance for your help!!!


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