JBoss Community

Re: How to handle an abortion of a work item?

created by Marco Piraccini in jBPM - View the full discussion

I don't know if JBPM-3319 will be fixed (it's a big issue form me, since I don't know how to manage a aborted workitem situations without a subprocess). Anyway, looking at the code, when a WorkItemManager.abortWorkItem is esecuted, an event is sent to the process instance:

 

     processInstance.signalEvent("workItemAborted", workItem);

 

So when (and if...) the boundary events for the task will be supported, it should work simply with a "catch" event from the task.

Am I wrong?

Reply to this message by going to Community

Start a new discussion in jBPM at Community