[jboss-user] [jBPM] - Re: jBPM5 - How to abort a already running ProcessInstance?

Kris Verlaenen do-not-reply at jboss.com
Mon Jan 17 21:51:35 EST 2011


Kris Verlaenen [http://community.jboss.org/people/KrisVerlaenen] created the discussion

"Re: jBPM5 - How to abort a already running ProcessInstance?"

To view the discussion, visit: http://community.jboss.org/message/581430#581430

--------------------------------------------------------------
The ServiceTaskHandler is actually executing the service synchronously.  That means that the service will have executed before you'll have the chance to abort the process instance.

In general though, when using asynchronous work item handlers, you abort your process instance, the work item handler will be notified that the service call should be aborted.  In the work item handler, you can then specify how to do this (as the abortWorkItem(..) method.

Kris
--------------------------------------------------------------

Reply to this message by going to Community
[http://community.jboss.org/message/581430#581430]

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/20110117/1b5a8971/attachment.html 


More information about the jboss-user mailing list