Examples of GetTaskCommandByTaskInstance()


Examples of com.founder.fix.fixflow.core.TaskService.GetTaskCommandByTaskInstance()

    List<TaskInstance> taskInstancesNotEndA=taskService.createTaskQuery().processInstanceId(processInstanceId).taskAssignee(userId).taskNotEnd().list();
    List<TaskInstance> taskInstancesNotEndC=taskService.createTaskQuery().processInstanceId(processInstanceId).taskCandidateUser(userId).taskNotEnd().list();
    Map<String, String> notEndTask=new HashMap<String, String>();
    //独占未完成
    for (TaskInstance taskInstance : taskInstancesNotEndA) {
      List<TaskCommandInst> taskCommandInsts=taskService.GetTaskCommandByTaskInstance(taskInstance,true);
      for (TaskCommandInst taskCommandInst : taskCommandInsts) {
     
        Map<String, Object> mapTemp=taskCommandInst.getPersistentState();
        if( mapTemp.get("type").equals("reminders")||mapTemp.get("type").equals("recover")||mapTemp.get("type").equals("processStatus")){
          mapTemp.put("taskId", taskInstance.getId());
View Full Code Here

Examples of com.founder.fix.fixflow.core.TaskService.GetTaskCommandByTaskInstance()

      }
    }
   
    //共享未完成
    for (TaskInstance taskInstance : taskInstancesNotEndC) {
      List<TaskCommandInst> taskCommandInsts=taskService.GetTaskCommandByTaskInstance(taskInstance,true);
      for (TaskCommandInst taskCommandInst : taskCommandInsts) {
     
        Map<String, Object> mapTemp=taskCommandInst.getPersistentState();
        if( mapTemp.get("type").equals("reminders")||mapTemp.get("type").equals("recover")||mapTemp.get("type").equals("processStatus")){
          mapTemp.put("taskId", taskInstance.getId());
View Full Code Here

Examples of com.founder.fix.fixflow.core.TaskService.GetTaskCommandByTaskInstance()

      }
      if(notEndTask.get(taskInstance.getNodeId())!=null){
        continue;
      }
      cfData.put(taskInstance.getNodeId(), taskInstance.getNodeId());
      List<TaskCommandInst> taskCommandInsts=taskService.GetTaskCommandByTaskInstance(taskInstance,true);
      for (TaskCommandInst taskCommandInst : taskCommandInsts) {
       
        Map<String, Object> mapTemp=taskCommandInst.getPersistentState();
        if( mapTemp.get("type").equals("reminders")||mapTemp.get("type").equals("recover")||mapTemp.get("type").equals("processStatus")){
          mapTemp.put("taskId", taskInstance.getId());
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.