[jboss-user] [JBoss jBPM] - Re: start-state

syngolis do-not-reply at jboss.com
Tue Jul 10 02:54:19 EDT 2007


hmm...

Maybe I am wrong, but I tested the node-enter behaviour on start-state and it seems, that this event is never executed:

<process-definition
  |   xmlns=""  name="test5">
  |    <start-state name="start">
  |       <task name="task"></task>
  |       <event type="node-enter">
  |          <script>
  |          	<expression>
  |          		System.out.println("NODE-ENTER");
  |          	</expression>
  |          </script>
  |       </event>
  |       <event type="node-leave">
  |          <script>
  |          	<expression>
  |          		System.out.println("NODE-LEAVE");
  |          	</expression>
  |          </script>
  |       </event>
  |       <transition name="" to="end1"></transition>
  |    </start-state>
  |    <end-state name="end1"></end-state>
  | </process-definition>

I get only "NODE-LEAVE" output on my console. Is that correct?!?

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4062259#4062259

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4062259



More information about the jboss-user mailing list