[jboss-user] [JBoss jBPM] - Re: Using end-complete-process attribute of end-state

nizzy do-not-reply at jboss.com
Tue Jun 3 09:26:06 EDT 2008


Hi

Interestingly in my debug, I see that node-entered is the required end state however execution of the process does not finish at this point!


  | 
  | 10:47:20,613 [main] INFO  ForkTest : Signaling: Waiting for a
  | 10:47:20,613 [main] DEBUG ForkTest : inside signal(instance, childKey = a)
  | 10:47:20,613 [main] DEBUG GraphElement : event 'before-signal' on 'State(wait for a)' for 'Token(/a)
  | '
  | 10:47:20,613 [main] DEBUG GraphElement : event 'node-leave' on 'State(wait for a)' for 'Token(/a)'
  | 10:47:20,613 [main] DEBUG GraphElement : event 'transition' on 'Transition(148aa23)' for 'Token(/a)'
  | 
  | 10:47:20,613 [main] DEBUG GraphElement : event 'node-enter' on 'Node(doThis2)' for 'Token(/a)'
  | 10:47:20,613 [main] DEBUG GraphElement : executing action 'Action(a46701)'
  | 10:47:20,613 [main] DEBUG DoThis2ActionHandler : Calling leaveNode("failure")
  | 10:47:20,613 [main] DEBUG GraphElement : event 'node-leave' on 'Node(doThis2)' for 'Token(/a)'
  | 10:47:20,613 [main] DEBUG GraphElement : event 'transition' on 'Transition(failure)' for 'Token(/a)'
  | 
  | 10:47:20,613 [main] DEBUG GraphElement : event 'node-enter' on 'EndState(end - doThis2 failed)' for 
  | 'Token(/a)'
  | 10:47:20,613 [main] DEBUG GraphElement : event 'process-end' on 'ProcessDefinition(forktest)' for 'T
  | oken(/)'
  | 10:47:20,613 [main] DEBUG GraphElement : event 'after-signal' on 'State(wait for a)' for 'Token(/a)'
  | 
  | 10:47:20,613 [main] INFO  ForkTest : **************************************************
  | 10:47:20,613 [main] INFO  ForkTest : just performed action: 2. signal(instance, "wait for a")
  | 10:47:20,613 [main] INFO  ForkTest : root token node: Fork(fork1)
  | 10:47:20,613 [main] INFO  ForkTest : root token active children: {}
  | 10:47:20,613 [main] INFO  ForkTest : **************************************************
  | 	

I also have noticed that ProcessInstance.hasEnded() is true, but I can still signal the process!!

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

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



More information about the jboss-user mailing list