I've tried this, but i doesn't change anything... The timer fires, but the
transition is not activated. And, if the java code produces a signal on the
root token, the next node is the normal transition, not the transition that is
supposed to be selected by the timer...
| <state name="activity-1">
| <timer
| name="timer_activity-1"
| duedate="5 seconds"
| transition="activity-2">
| <script>
| <expression>
| <![CDATA[
| System.out.println("*** TIMER FIRED
!!!");
| ]]>
| </expression>
| </script>
| </timer>
| <transition name="to_activity-3" to="activity-3" />
| <transition name="to_activity-2" to="activity-2" />
| </state>
|
| <state name="activity-2">
| <event type="node-enter">
| <script>
| <expression>
| <![CDATA[
| System.out.println("*** ENTERING : " +
node);
| ]]>
| </expression>
| </script>
| </event>
| <transition to="activity-3" />
| </state>
|
Another idea ?
Thanks anyway !
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3949820#3949820
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3949820
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user