This content has been marked as final.
Show 1 reply
-
1. Re: HowTo remove a ProcessInstance Q
brittm Dec 30, 2005 11:01 AM (in response to fmuhlenberg)JbpmSessionFactory jbpmSessionFactory = JbpmSessionFactory.getInstance(); JbpmSession jbpmSession = jbpmSessionFactory.openJbpmSession(); GraphSession graphSession = jbpmSession.getGraphSession(); jbpmSession.beginTransaction(); graphSession.deleteProcessInstance(processInstanceId); jbpmSession.commitTransaction(); jbpmSession.close();
Simple enough; however, in certain scenarios there are still (I believe) one or two persistance issues that can creep up that may prevent the record deletion from ocurring successfully.
-Britt