[jboss-user] [jBPM] - Calling TaskService.CompleteTask from inside a Java callback
Michael Wohlfart
do-not-reply at jboss.com
Mon Jun 21 15:52:56 EDT 2010
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&containerType=14&container=2034]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20100621/22c92e4c/attachment.html
More information about the jboss-user
mailing list