AnsweredAssumed Answered

Inability to Completely Delete a Process Instance When...

Question asked by ryanj1 on May 16, 2014
Latest reply on Jul 10, 2014 by ryanj1
…a Service Task that is executed via the Job Executor fails *and*:

(1) There is an Error Boundary Event configured on the Service Task and
(2) The failure is not a BpmnError instance with an "errorCode" that matches the one configured in the Error Boundary Event. (Obviously, if this occurs, the process instance would continue along the Error Boundary Event's subsequent path. Just providing this to paint a complete picture. :) )

When I say that the process instance isn't completely deleted, I specifically mean that no END_TIME_ has been updated into the record in the ACT_HI_PROCINST table.

Admittedly, this is a corner case, but it has caused some problems at my current client.

I haven't had the time to trace all the way through the code and chase this down, but I'd be happy to make and test the necessary modification(s)… My hope is that one of the core developers can point me in the right direction of where this issue might be within the code base. (Or perhaps one of the core developers is saying "aha" as they're reading this and know right where to go to fix it? :) )

Thanks in advance.

Outcomes