Michael Wohlfart [
http://community.jboss.org/people/mwohlf] replied to the discussion
"Calling TaskService.CompleteTask from inside a Java callback"
To view the discussion, visit:
http://community.jboss.org/message/549019#549019
--------------------------------------------------------------
I am not sure what you try to do, but an AssignmentHandler or an EventListener is not the
right place to complete a task or send any signals to the process instance.
Maybe what you try to do can be implemented with the <custom /> tag.
Basically you implement a ExternalActivityBehaviour and use execution.waitForSignal() or
execution.take(transition) if you want the process instance to stop or take a certain
transition.
--------------------------------------------------------------
Reply to this message by going to Community
[
http://community.jboss.org/message/549019#549019]
Start a new discussion in jBPM at Community
[
http://community.jboss.org/choose-container!input.jspa?contentType=1&...]