current.abort(); final Recorder recorder = EnvTool.getRecorder(); recorder.recordInstanceAborted(job.getEventSubProcessRootInstanceUUID(), EnvTool.getUserId()); } catch (final BonitaRuntimeException e) { if (LOG.isLoggable(Level.WARNING)) {
final InternalProcessInstance subprocessInstance = EnvTool.getJournalQueriers().getProcessInstance( activityInstance.getSubflowProcessInstanceUUID()); EnvTool.getRecorder().recordInstanceAborted(subprocessInstance.getUUID(), BonitaConstants.SYSTEM_USER);
if (errorJob != null) { execution.abort(); recorder.recordInstanceAborted(instance.getUUID(), EnvTool.getUserId()); final EventService eventService = EnvTool.getEventService(); eventService.storeJob(errorJob); recorder.recordInstanceAborted(instanceUUID, BonitaConstants.SYSTEM_USER); instance.finish();
final Recorder recorder = EnvTool.getRecorder(); recorder.recordInstanceAborted(childInstance.getUUID(), EnvTool.getUserId()); ProcessUtil.removeInternalInstanceEvents(instance.getUUID());
@Override protected boolean executeBusinessLogic(Execution execution) { final InternalProcessInstance instance = execution.getInstance(); final ActivityDefinition activity = execution.getNode(); Job errorJob = ActivityUtil.getErrorEventSubProcessJob(execution, activity.getTimerCondition()); if (errorJob == null) { errorJob = ActivityUtil.getTargetErrorJob(execution); } execution.abort(); final Recorder recorder = EnvTool.getRecorder(); recorder.recordInstanceAborted(instance.getUUID(), EnvTool.getUserId()); if (errorJob != null) { final EventService eventService = EnvTool.getEventService(); eventService.storeJob(errorJob); } else { ProcessUtil.removeInternalInstanceEvents(instance.getUUID()); instance.finish(); } return false; }
final Recorder recorder = ServiceEnvTool.getRecorder(); recorder.recordInstanceAborted(new ProcessInstanceCurrentInfo( childInstance.getPackageDefinitionUUID(), childInstance.getProcessDefinitionUUID(),