commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nestor Urquiza <nest...@yahoo.com>
Subject Re: [SCXML] extracting info from FSM states
Date Mon, 24 Apr 2006 10:51:02 GMT
Done! I didn't need getCurrentStatus() so far. Let us
see if the requirements for this project are
fullfilled. The Listener was enough ... so far 
Thanks,
Nestor

--- Rahul Akolkar <rahul.akolkar@gmail.com> wrote:

> On 4/20/06, Nestor Urquiza <nestoru@yahoo.com>
> 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:
> commons-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail:
> commons-user-help@jakarta.apache.org
> 
> 


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

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


Mime
View raw message