evt.setProcessId(processId);
_process.saveEvent(evt, instance);
//
// TerminationEvent (peer of ProcessCompletionEvent)
//
ProcessTerminationEvent terminationEvent =
new ProcessTerminationEvent();
terminationEvent.setProcessInstanceId(iid);
terminationEvent.setProcessName(processName);
terminationEvent.setProcessId(processId);
_process.saveEvent(evt, instance);
onEvent(evt);
onEvent(terminationEvent);