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
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to