commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rahul Akolkar <rahul.akol...@gmail.com>
Subject Re: SCXML : send & transition doesn't work when they are in the same state.
Date Fri, 26 Nov 2010 18:14:56 GMT
This is a post for the user list, but please see below first ...

On Fri, Nov 26, 2010 at 1:03 PM, Michael musset <mickamusset@gmail.com> wrote:
> Hi,
>
>
> I'm having a problem in my scxml project :
>
>    <state id="STATE_START">
>        <onentry>
>            <send target="test" targettype="'x-csta'" xmlns:csta="
> http://www.ecma.ch/standards/ecma-323/csta">
>                <EVENT TARGET="test"  TAG="EVENT_HELLO">
>                        <![CDATA[
>                                my data
>                        ]]>
>                </EVENT>
>            </send>
>        </onentry>
>        <transition event="EVENT_TEST" target="STATE_1" cond="_eventdata.DATA1
> eq 'ok'"/>
>        <transition event="EVENT_START" target="STATE_START" />
>    </state>
>
> the send tag is recuperate properly by the the eventdispatcher ( I need what
> is inside the send tag) , but I can't manage to change state into the
> STATE_1.
> And If I remove the all <send >... </send> tag , the transition is working,
> I manage to change state into the STATE_1.
>
>
> So what is wrong? I'm using JexlEvaluator and JexlContext for my engine.
>
<snip/>

We'll need to know what your EventDispatcher implementation is doing
that might disrupt processing the original event, which is why the
payload guard condition may no longer hold for the transition you
expect to be taken. Lets continue on the Commons User list, see:

  http://commons.apache.org/mail-lists.html

-Rahul


>
>
> Thanks in advance for the help !!!
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org


Mime
View raw message