private boolean executeBody(XpdlExecution execution) { if (bodyStartAutomatically()) { EnvTool.getRecorder().recordBodyStarted(this, execution); } return executeBusinessLogic(execution); }
private boolean executeBody(final Execution internalExecution) { if (bodyStartAutomatically()) { EnvTool.getRecorder().recordBodyStarted(internalExecution.getActivityInstance()); } return executeBusinessLogic(internalExecution); }
private boolean executeBody(final XpdlExecution xpdlExecution) { if (this.bodyStartAutomatically()) { 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().recordBodyStarted(activityInstanceCurrentInfo); } return this.executeBusinessLogic(xpdlExecution); }