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]

_______________________________________________
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to