[jboss-user] [jBPM] - Re: How to remove the process instance when the abort fails

Maciej Swiderski do-not-reply at jboss.com
Fri Jul 26 03:49:39 EDT 2013


Maciej Swiderski [https://community.jboss.org/people/swiderski.maciej] created the discussion

"Re: How to remove the process instance when the abort fails"

To view the discussion, visit: https://community.jboss.org/message/829921#829921

--------------------------------------------------------------
The issue with this is that it would be very misleading as you call exit on already completed tasks and then leaving the status as completed again. I would vote more for protecting the abort operation to not fail on such situation, meaning if the task is in different state than expected by exit command it should issue warning instead of failing on that.

Moreover there must be something wrong when you have task completed but the work item is not completed and thus process instance abort aborts the work item as well. That indicates that your process instance was not notified about task completion and thus remains in active state instead of being completed.

HTH
--------------------------------------------------------------

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

Start a new discussion in jBPM at Community
[https://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/20130726/304ebec9/attachment.html 


More information about the jboss-user mailing list