Examples of executeActivity()


Examples of org.activiti.engine.impl.persistence.entity.ExecutionEntity.executeActivity()

                .getExecutionEntityManager().findExecutionById(executionId);
        ProcessDefinitionImpl processDefinition = executionEntity
                .getProcessDefinition();
        ActivityImpl activity = processDefinition.findActivity(activityId);

        executionEntity.executeActivity(activity);

        return null;
    }
}
View Full Code Here

Examples of org.activiti.engine.impl.persistence.entity.ExecutionEntity.executeActivity()

        executionEntity.destroyScope(jumpOrigin);

        ProcessDefinitionImpl processDefinition = executionEntity.getProcessDefinition();
        ActivityImpl activity = processDefinition.findActivity(activityId);

        executionEntity.executeActivity(activity);

        return executionEntity;
    }
}
View Full Code Here

Examples of org.camunda.bpm.engine.impl.persistence.entity.ExecutionEntity.executeActivity()

    ActivityBehavior activityBehavior = activity.getActivityBehavior();
    if (activityBehavior instanceof BoundaryEventActivityBehavior) {

      try {
        execution.executeActivity(activity);

      } catch (RuntimeException e) {
        throw e;
      } catch (Exception e) {
        throw new ProcessEngineException("exception while sending signal for event subscription '" + eventSubscription + "':" + e.getMessage(), e);
View Full Code Here

Examples of org.camunda.bpm.engine.impl.persistence.entity.ExecutionEntity.executeActivity()

      }

    } else if (activityBehavior instanceof EventSubProcessStartEventActivityBehavior) {

      try {
        execution.executeActivity(activity.getParentActivity());

      } catch (RuntimeException e) {
        throw e;
      } catch (Exception e) {
        throw new ProcessEngineException("exception while sending signal for event subscription '" + eventSubscription + "':" + e.getMessage(), e);
View Full Code Here

Examples of org.camunda.bpm.engine.impl.persistence.entity.ExecutionEntity.executeActivity()

    } else { // not boundary
      if (activityBehavior instanceof IntermediateCatchEventActivityBehavior) {
        IntermediateCatchEventActivityBehavior catchBehavior = (IntermediateCatchEventActivityBehavior) activityBehavior;

        if (catchBehavior.isAfterEventBasedGateway()) {
          execution.executeActivity(activity);
          return;
        }
      }

      if (!activity.equals(execution.getActivity())) {
View Full Code Here

Examples of org.fenixedu.academic.domain.caseHandling.Process.executeActivity()

    public static Process run(Class<? extends Process> processClass, Object object, final List<Pair<Class<?>, Object>> activities) {
        final User userView = Authenticate.getUser();
        final Process process = Process.createNewProcess(userView, processClass, object);

        for (final Pair<Class<?>, Object> activity : activities) {
            process.executeActivity(userView, activity.getKey().getSimpleName(), activity.getValue());
        }

        return process;
    }
}
View Full Code Here

Examples of org.uengine.kernel.BackActivity.executeActivity()

      // 플래그로 반려
      } else if (rejectOption == ExternalApprovalLineActivity.LOOPING_OPTION_BACK_TO_FLAG) {
        BackActivity backActivity = new BackActivity();
        backActivity.setTargetSource(BackActivity.Flag);
        backActivity.setFlag(approvalLineAct.getFlag());
        backActivity.executeActivity(instance);
       
      // 결재선 종료
      } else if (rejectOption == ExternalApprovalLineActivity.LOOPING_OPTION_FINISH) {
        approvalAct.setEndTime(instance, endTime);
        approvalAct.getApprovalLineActivity().fireComplete(instance);
View Full Code Here

Examples of org.uengine.kernel.EndActivity.executeActivity()

     
    } else {
      endActivity.setStatus(EndActivity.STATUS_COMPLETED);
    }
   
    endActivity.executeActivity(instance);
  }
 
  @SuppressWarnings({ "unchecked", "rawtypes" })
  public void activityComplete(ActivityCompleteMsg acMsg) throws Exception {
    Map genericContext = new HashMap();
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.