919293949596979899100101
try { utx.begin(); ret = method.invoke(_internalTaskService, args); utx.commit(); } catch (Throwable t) { utx.rollback(); throw t; } return ret; } }
213214215216217218219220221222223
expressionVariables.putAll(getGlobalVariables(session)); expressionVariables.putAll(getProcessInstanceVariables(processInstance)); } utx.commit(); } catch (RuntimeException re) { utx.rollback(); throw re; } break; } case SIGNAL_EVENT:
248249250251252253254255256257258
expressionVariables.putAll(getGlobalVariables(session)); } } utx.commit(); } catch (RuntimeException re) { utx.rollback(); throw re; } break; } case ABORT_PROCESS_INSTANCE: {
270271272273274275276277278279280
expressionVariables.putAll(getProcessInstanceVariables(processInstance)); } session.getStateful().abortProcessInstance(processInstanceId); utx.commit(); } catch (RuntimeException re) { utx.rollback(); throw re; } break; } default: {