protected void eventNotificationsCompleted(PvmExecutionImpl execution) { ProcessDefinitionImpl processDefinition = execution.getProcessDefinition(); ProcessInstanceStartContext processInstanceStartContext = execution.getProcessInstanceStartContext(); List<ActivityImpl> initialActivityStack = processDefinition.getInitialActivityStack(processInstanceStartContext.getInitial()); execution.setActivity(initialActivityStack.get(0)); execution.performOperation(PROCESS_START_INITIAL); }
protected ScopeImpl getScope(PvmExecutionImpl execution) { return execution.getProcessDefinition(); }