[jboss-user] [JBoss jBPM] - Re: taskInstance.cancel() still fires events

Olivier_Debels do-not-reply at jboss.com
Tue Apr 8 07:02:38 EDT 2008

Depends what you want.

In your case task-end event will not get fired, but the task instance will end and process instance will continue (token will signal).   The task-end event will never fire again (since task instance was already added), so adding it again is not needed.

If you want your process instance to continue and if you want your task instance to complete, but without events, then this is ok.

If you want your process instance to 'abort', and your task instance to 'abort' where you can make a distinction between completed task instances and aborted ones, then this is not ok.

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4142319#4142319

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4142319

More information about the jboss-user mailing list