Community

Prematurely completing a workflow in 4.3

reply from Al Nadein in jBPM - View the full discussion

Hi HuiSheng,

 

Thanks a  bunch for following up.

 

I was asking a pretty basic question: how to  close processes from an activity handler of another process.  ExecutionService::endProcessInstance() all that I needed.

But I  ran into another issue doing this call: the processes i need to close  are collections of human tasks. All or any of the tasks may be pending  at the moment of ending their processes. The call to  endProcessInstance() fails with integrity constraint: can't delete  "swimlane" records due to "task" child records. Looking into it now. If  you have any ideas, would be grately appreciated

Reply to this message by going to Community

Start a new discussion in jBPM at Community