Hi cpob, Thanks for your help.
Using your xml in my (process-runner) program, I get the following log (truncated for page's sanity) | 13:34:13,964 [Thread-0] DEBUG GraphElement : event 'process-start' on 'ProcessDefinition(cpob)' for 'Token(/)' | *** signal ! *** | 13:34:13,964 [Thread-0] DEBUG GraphElement : event 'before-signal' on 'StartState(start)' for 'Token(/)' | 13:34:13,964 [Thread-0] DEBUG GraphElement : event 'node-leave' on 'StartState(start)' for 'Token(/)' | 13:34:13,964 [Thread-0] DEBUG GraphElement : event 'transition' on 'Transition(to_state)' for 'Token(/)' | 13:34:13,964 [Thread-0] DEBUG GraphElement : executing action 'action[action]' | 13:34:14,042 [Thread-0] DEBUG VariableContainer : create variable 'message' in 'TokenVariableMap18b81e3' with value 'Going to the first state!' | 13:34:14,073 [Thread-0] DEBUG Converters : adding converter 'D', 'org.jbpm.context.exe.converter.DoubleToStringConverter' | 13:34:14,073 [Thread-0] DEBUG Converters : adding converter 'C', 'org.jbpm.context.exe.converter.CharacterToStringConverter' | 13:34:14,089 [Thread-0] DEBUG Converters : adding converter 'B', 'org.jbpm.context.exe.converter.BooleanToStringConverter' | 13:34:14,089 [Thread-0] DEBUG Converters : adding converter 'Y', 'org.jbpm.context.exe.converter.BytesToByteArrayConverter' | 13:34:14,104 [Thread-0] DEBUG Converters : adding converter 'A', 'org.jbpm.context.exe.converter.DateToLongConverter' | 13:34:14,104 [Thread-0] DEBUG Converters : adding converter 'R', 'org.jbpm.context.exe.converter.SerializableToByteArrayConverter' | 13:34:14,104 [Thread-0] DEBUG Converters : adding converter 'I', 'org.jbpm.context.exe.converter.IntegerToLongConverter' | 13:34:14,104 [Thread-0] DEBUG Converters : adding converter 'H', 'org.jbpm.context.exe.converter.ShortToLongConverter' | 13:34:14,104 [Thread-0] DEBUG Converters : adding converter 'G', 'org.jbpm.context.exe.converter.FloatToDoubleConverter' | 13:34:14,120 [Thread-0] DEBUG Converters : adding converter 'F', 'org.jbpm.context.exe.converter.FloatToStringConverter' | 13:34:14,120 [Thread-0] DEBUG Converters : adding converter 'E', 'org.jbpm.context.exe.converter.ByteToLongConverter' | 13:34:14,151 [Thread-0] DEBUG GraphElement : event 'node-enter' on 'State(first)' for 'Token(/)' | 13:34:14,151 [Thread-0] DEBUG GraphElement : event 'after-signal' on 'StartState(start)' for 'Token(/)' | *** signal ! *** | 13:34:14,151 [Thread-0] DEBUG GraphElement : event 'before-signal' on 'State(first)' for 'Token(/)' | 13:34:14,151 [Thread-0] DEBUG GraphElement : event 'node-leave' on 'State(first)' for 'Token(/)' | 13:34:14,151 [Thread-0] DEBUG GraphElement : event 'transition' on 'Transition(to_end)' for 'Token(/)' | 13:34:14,151 [Thread-0] DEBUG GraphElement : executing action 'action[action]' | 13:34:14,167 [Thread-0] DEBUG VariableContainer : update variable 'message' in 'TokenVariableMap18b81e3' to value 'About to finish!' | 13:34:14,167 [Thread-0] DEBUG GraphElement : event 'node-enter' on 'EndState(end)' for 'Token(/)' | 13:34:14,167 [Thread-0] DEBUG GraphElement : event 'process-end' on 'ProcessDefinition(cpob)' for 'Token(/)' | 13:34:14,167 [Thread-0] DEBUG GraphElement : event 'after-signal' on 'State(first)' for 'Token(/)' | The program's main part is as simple as that | ... | while(!instance.hasEnded()){ | System.out.println("*** signal ! ***"); | instance.signal(); | } | As you can see, I get the same order than previously. nodeEnter > beforeSignal > nodeLeave > afterSignal But I was wondering about some logs having exactly the same time, I did a program that writes the running class name to a disk and to my surprise, the launch order is still the odd looking one. In my opinion, it would had been more intuitive to have something like nodeEnter > (signal sent) > beforeSignal > afterSignal > nodeLeave Although I don't get the use of the *Signal methods, should look deeper into the documentation. Thanks Cpob JBaton View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3953974#3953974 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3953974 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user