Read the logging again.... 

The token is in state "first", then you signal it and get the following logs:


  | 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(/)'
  | 

Which is correct, you get a
- before signal (which is a way of telling the system: 'hey there is a signal 
comming'
- then you leave state "first"
- you are taking the "to_end" transition"
- you enter state  "end"
- the process ends
- the signal is completely processed

So there is nothing wrong with your logging, you just read it wrong. 

Remember, jBPM does nothing unless you signal it in one way or another. If you 
start reading the log from the moment you signal it, everything is correct

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

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

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

Reply via email to