I have already found a solution, for triggering i have used type 
TriggerEvent.SIGNAL_EVENT with it, it doesn't work, but if I use 
TriggerEvent.CALL_EVENT it works. In the description of TriggerEvent class I 
have found : Specific event types have been defined in reference to SCXML, 
where can I find this reference? Which working draft was used for commons scxml?

On Jun 18, 2011, at 6:53 PM, Rahul Akolkar wrote:

> On Sat, Jun 18, 2011 at 9:39 AM, Artem Vovk <[email protected]> wrote:
>> Hi,
>> 
>> Is it a valid scxml expression in apache commons?
>> 
> <snip/>
> 
> If you mean transition, yes, target-less transitions are valid (a.k.a.
> stay transitions).
> 
> 
>> <transition event="internal" cond="_eventdata['name'] eq 'cancelclick'">
>>        <send event="'send_event'" targettype="'outside'" namelist="cancel" />
>> </transition>
>> 
>> Because I trigger this event, but send does not works.
>> 
> <snap/>
> 
> You should see the EventDispatcher#send() call if the transition is
> indeed followed (event triggered and guard condition is true).
> 
> -Rahul
> 
> 
>> 
>> Cheers Artem
>> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to