@Override protected void end(XpdlExecution xpdlExecution) { xpdlExecution = (XpdlExecution) xpdlExecution.destroyScope(xpdlExecution.getNode()); xpdlExecution.end(); XpdlExecution parent = xpdlExecution.getParent(); if (parent != null) { parent.removeExecution(xpdlExecution); } } }
@Override protected void end(XpdlExecution xpdlExecution) { xpdlExecution = (XpdlExecution) xpdlExecution.destroyScope(xpdlExecution.getNode()); xpdlExecution.end(); final XpdlExecution parent = xpdlExecution.getParent(); if (parent != null) { parent.removeExecution(xpdlExecution); } } }
XpdlExecution parent = xpdlExecution.getParent(); if (parent != null) { parent.removeExecution(xpdlExecution); XpdlExecution parent = xpdlExecution.getParent(); if (parent != null) { parent.removeExecution(xpdlExecution);
protected void end(XpdlExecution xpdlExecution) { EnvTool.getRecorder().recordBodyEnded(this, xpdlExecution); if (!XpdlExecution.MAIN_INSTANCE_NAME.equals(xpdlExecution.getActivityInstanceId())) { // TODO: check variable values for transition conditions XpdlExecution activityInstanceExecution = (XpdlExecution) xpdlExecution.destroyScope(xpdlExecution.getNode()); activityInstanceExecution.end(); XpdlExecution parent = activityInstanceExecution.getParent(); parent.removeExecution(activityInstanceExecution); signal(parent, ACT_INSTANCE_FINISHED, null); } else { executeSplit(xpdlExecution, true); } }
final XpdlExecution parent = xpdlExecution.getParent(); if (parent != null) { parent.removeExecution(xpdlExecution); final XpdlExecution parent = xpdlExecution.getParent(); if (parent != null) { parent.removeExecution(xpdlExecution);
XpdlExecution parent = xpdlExecution.getParent(); if (parent != null) { parent.removeExecution(xpdlExecution); XpdlExecution parent = xpdlExecution.getParent(); if (parent != null) { parent.removeExecution(xpdlExecution);
final XpdlExecution parent = xpdlExecution.getParent(); if (parent != null) { parent.removeExecution(xpdlExecution); final XpdlExecution parent = xpdlExecution.getParent(); if (parent != null) { parent.removeExecution(xpdlExecution);
protected void end(final XpdlExecution xpdlExecution) { final ActivityInstanceCurrentInfo activityInstanceCurrentInfo = new ActivityInstanceCurrentInfo( xpdlExecution.getXpdlInstance().getPackageDefinitionUUID(), xpdlExecution.getXpdlInstance().getProcessDefinitionUUID(), xpdlExecution.getXpdlInstance().getUUID(), xpdlExecution.getCurrentActivityInstanceUUID(), this.getActivityType(), this.getActivityId(), xpdlExecution.getIterationId(), xpdlExecution.getActivityInstanceId(), xpdlExecution.getScopeVariables()); ServiceEnvTool.getRecorder().recordBodyEnded(activityInstanceCurrentInfo); if (!XpdlExecution.MAIN_INSTANCE_NAME.equals(xpdlExecution.getActivityInstanceId())) { final XpdlExecution activityInstanceExecution = (XpdlExecution) xpdlExecution.destroyScope(xpdlExecution.getNode()); activityInstanceExecution.end(); final XpdlExecution parent = activityInstanceExecution.getParent(); parent.removeExecution(activityInstanceExecution); this.signal(parent, AbstractActivity.ACT_INSTANCE_FINISHED, null); } else { this.executeSplit(xpdlExecution, true); } }
final XpdlExecution parent = this.getParent(); if (parent != null) { parent.removeExecution(this);
final XpdlExecution parent = this.getParent(); if (parent != null) { parent.removeExecution(this);