Hi Apache Users,

I need your help regarding my question below

Many thanks

Nir


---------- Forwarded message ----------
From: Fabrizio Morbini <[email protected]>
Date: Tue, Jun 19, 2012 at 11:48 PM
Subject: Re: Question regarding scxmlgui tool
To: Nir Shemesh <[email protected]>


Hi, first i have to say that this question is really a question you
should ask the Apache SCXML folks given that it's an executor question
as opposed to a interface question.

Going to the question, transitions are treatment the same, even if
they are loops (i.e. source and target nodes are the same). When one
takes the transitions you leave the source node and you execute the
OnExit. When you enter the same node you execute the OnEntry.

Hope it helps, but please ask the Apache SCXML mailing list.

best

On Tue, Jun 19, 2012 at 1:42 PM, Nir Shemesh <[email protected]> wrote:
> Hi Fabrizio,
>
> I"m using your tool to evaluate scxml concept for my hobby.
>
> I made a simple model with two states ("inactive" and "active") wherethere
> is transition from inactive to active and active has a transition to
itself.
>
> Now, when statemachine is in "active" and its self transitin iignite i
> noticed that execution occure of the transition(has expected)
>
> BUT also onExit and OnEntry execution content of "active" state also
occure.
>
> My question is why - since we are in self transition (stayes on save
state)
> there is no need to establish onEntry and onExit execution.
>
> Opinun? :)
>
> Thanks
>
> Nir
> --
> Nir



-- 
Nir



-- 
Nir

Reply via email to