[jboss-user] [JBoss jBPM] - Signaling Process causes never ending Loop
Becka
do-not-reply at jboss.com
Tue Dec 19 06:40:47 EST 2006
I have currently some Problems with one of my Actionhandlers.
I want to Signal a Process automaticly from within an other.
To now that worked without Problems.
But since i added a Second Transition to the Task, that should be Signaled the Server gets into a never Ending loop due to Leaving and Entering the same Task without any Stop.
This is the Result of a "normal" Signal, just with .signal();
I thought the Name of the Transition in the Signal might help, but the Result is the Same.
The Signaled Task is "waiting for change ...".
It has 2 leaving Transitions "(POSITIVE)" and "(NEGATIVE)"
Here is a Part of the Log:
| 11:56:56,467 INFO [STDOUT] transitionVariableValue = (NEGATIVE)
| 11:56:56,467 INFO [STDOUT] Signaling -> (NEGATIVE)
| 11:56:56,498 DEBUG [GraphElement] event 'before-signal' on 'State(waiting for change ...)' for 'Token(/)'
| 11:56:56,498 DEBUG [GraphElement] event 'node-leave' on 'State(waiting for change ...)' for 'Token(/)'
| 11:56:56,608 DEBUG [GraphElement] executing action 'action[calculate priority]'
| 11:56:56,608 DEBUG [GraphElement] executing action 'action[set status]'
| 11:56:56,608 INFO [STDOUT] Sending signal() in Node State(waiting for change ...)
| 11:56:56,608 DEBUG [GraphElement] event 'before-signal' on 'State(waiting for change ...)' for 'Token(/)'
| 11:56:56,623 DEBUG [GraphElement] event 'node-leave' on 'State(waiting for change ...)' for 'Token(/)'
| 11:56:56,639 DEBUG [GraphElement] executing action 'action[calculate priority]'
| 11:56:56,655 DEBUG [GraphElement] executing action 'action[set status]'
| 11:56:56,655 INFO [STDOUT] Sending signal() in Node State(waiting for change ...)
|
And some code:
System.out.println("Signaling -> " + transitionName);
| ciProcessInstance.signal(transitionName);
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3994942#3994942
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3994942
More information about the jboss-user
mailing list