Examples of findLatestProcessDefinitionById()


Examples of com.founder.fix.fixflow.core.impl.persistence.ProcessDefinitionManager.findLatestProcessDefinitionById()

      String processInstanceId = taskInstance.getProcessInstanceId();

      ProcessDefinitionManager processDefinitionManager = Context.getCommandContext().getProcessDefinitionManager();

      ProcessDefinitionBehavior processDefinition = processDefinitionManager.findLatestProcessDefinitionById(processDefinitionId);


      ProcessInstanceEntity processInstanceImpl = processInstanceManager.findProcessInstanceById(processInstanceId, processDefinition);
      if(processInstanceImpl.hasEnded()){
        return false;
View Full Code Here

Examples of org.activiti.engine.impl.persistence.entity.ProcessDefinitionManager.findLatestProcessDefinitionById()

    List<ProcessDefinitionEntity> processDefinitionEntities = new ArrayList<ProcessDefinitionEntity>();
    ProcessDefinitionManager processDefinitionManager = commandContext.getProcessDefinitionManager();
   
    if(processDefinitionId != null) {
     
      ProcessDefinitionEntity processDefinitionEntity = processDefinitionManager.findLatestProcessDefinitionById(processDefinitionId);
      if(processDefinitionEntity == null) {
        throw new ActivitiException("Cannot find process definition for id '"+processDefinitionId+"'");
      }
      processDefinitionEntities.add(processDefinitionEntity);
     
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.