use of org.jbpm.persistence.api.PersistentProcessInstance in project jbpm by kiegroup.
the class ManualProcessTransactionManager method commit.
@Override
public void commit(boolean transactionOwner) {
for (PersistentProcessInstance processInstanceInfo : session.getStoredProcessInstances()) {
storage.saveOrUpdate(processInstanceInfo);
}
session.clearStoredProcessInstances();
super.commit(transactionOwner);
}
Aggregations