0 Replies Latest reply on Jun 15, 2009 9:58 PM by rams.rapol

    jBPM4 - Unable to delete process instance.

      When i try to delete a process instance in Jbpm4, it throws the following error.
      All i'm doing is calling the below statement on a newly created process instance.

      executionService.deleteProcessInstance(id);


      org.hibernate.exception.ConstraintViolationException: could not delete: [org.jbpm.pvm.internal.history.model.HistoryProcessInstanceImpl#
      ....
      ....
      Caused by: java.sql.SQLException: ORA-02292: integrity constraint (FK_HAI_HPI) violated - child record found