On 4/20/06, Nestor Urquiza <[EMAIL PROTECTED]> wrote:
> Hello guys,
> Having an Executor and therefore having a current
> state I would like to have the current-state-id, the
> last-state-id, the last-transition-made.
>
> The purpose of this is not only logging that important
> information for future DataMining/CRM but also because
<snip/>

Sold, don't worry about explaining ;-) Wire a SCXMLListener to the
document root (SCXML object) and you will be notified on all state
entries/exits and transitions. The SCXMLExecutor itself offers the
getCurrentStatus() feedback as well. Together, these can get you the
feedback information you need.

-Rahul


> I think in a web service infrastructure some clients
> would love to have as response what I would call
> "current-node" and "last-node" I evem would say that
> besides storing in cvs the scxml file
>
> I would log also the possible transitions the current
> state has because of course they can change in the
> future and I would have then stored that valuable
> information.
> Thanks
>
<snap/>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to