[jboss-dev-forums] [Design of JBoss jBPM] - Re: ending a process from other token than root token

nizzy do-not-reply at jboss.com
Tue Jun 3 06:27:25 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 'Token(/)'
  | 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 : **************************************************
  | 

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

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



More information about the jboss-dev-forums mailing list