commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jocke eriksson <>
Subject [SCXML] Count event support
Date Sun, 10 Apr 2011 15:14:21 GMT
Hello SCXML users. I'm the project owner of freeswitch-scxml at google
code. I have been waning to add
a feature and I'm not quite sure how to implement it. I want to be
able to add a count object,
when evaluated in a transition, it should return the number of times
that event has happened in a state.

<transition event="nomatch" target="exit" cond="count gt 3" />

The problem I have is that when the guarded block is evaluated I have
no way to find out
in which transition it currently is located in.

Is my only option to override SCXMLSemanticsImpl#filterTransitionsSet
and set the current transition
in the context before evaluation.

Regards Jocke Eriksson

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message