Al Nadein [
http://community.jboss.org/people/matrixpooh] replied to the discussion
"Prematurely completing a workflow in 4.3"
To view the discussion, visit:
http://community.jboss.org/message/543438#543438
--------------------------------------------------------------
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
[
http://community.jboss.org/message/543438#543438]
Start a new discussion in jBPM at Community
[
http://community.jboss.org/choose-container!input.jspa?contentType=1&...]