Examples of taskNotEnd()


Examples of com.founder.fix.fixflow.core.task.TaskQuery.taskNotEnd()

          }else{
            instanceMap.put("assgneeUserName", "(空用户名)");
          }
          instanceMaps.add(instanceMap);
        }
        tq.taskNotEnd().orderByTaskCreateTime().asc();
        List<TaskInstance> instancesNotEnd = tq.list();
       
        List<Map<String,Object>> notEndInstanceMaps = new ArrayList<Map<String,Object>>();
        for(TaskInstance tmp:instancesNotEnd){
          Map<String,Object> instanceMap = tmp.getPersistentState();
View Full Code Here

Examples of com.founder.fix.fixflow.core.task.TaskQuery.taskNotEnd()

      if(StringUtil.isNotEmpty(rowI)){
        rowNum = Integer.valueOf(rowI);
      }
     
      if(filter.get("ended")==null)
        tq.taskNotEnd();
     
      if(StringUtil.isNotEmpty(StringUtil.getString(filter.get("agentUserId")))){
        tq.isAgent(true);
        if(filter.get("agentType").equals("1")){
          tq.taskAssignee(StringUtil.getString(filter.get("userId")));
View Full Code Here

Examples of com.founder.fix.fixflow.core.task.TaskQuery.taskNotEnd()

      if(StringUtil.isNotEmpty(rowI)){
        rowNum = Integer.valueOf(rowI);
      }
     
      if(filter.get("ended")==null)
        tq.taskNotEnd();
      tq.orderByTaskCreateTime().desc();
      List<TaskInstance> lts = tq.listPagination(pageIndex, rowNum);
      Long count = tq.count();
      List<Map<String,Object>> instanceMaps = new ArrayList<Map<String,Object>>();
     
View Full Code Here

Examples of com.founder.fix.fixflow.core.task.TaskQuery.taskNotEnd()

      }

      List<TaskInstance> taskInstanceQueryTos = new ArrayList<TaskInstance>();
      TaskQuery tq = engine.getTaskService().createTaskQuery();
      tq.processInstanceId(processInstanceId);
      tq.taskNotEnd();
      taskInstanceQueryTos = tq.list();
      for (TaskInstance taskInstanceQueryTo2 : taskInstanceQueryTos) {
        if (taskInfo.equals("") && taskInstanceQueryTos.size() == 1) {
          taskInfo = taskInfo + processState(taskInstanceQueryTo2,engine);
        } else {
View Full Code Here

Examples of com.founder.fix.fixflow.core.task.TaskQuery.taskNotEnd()

    //创建一个任务查询
    TaskQuery taskQuery = taskService.createTaskQuery();
    //查询上面启动的流程实例
    taskQuery.processInstanceId(processInstanceId);
    //查询已完成的任务,(处理过程)
    TaskInstance taskDone = taskQuery.taskNotEnd().singleResult();
    //获取流程追踪情况下的按钮
    List<TaskCommandInst> commands = taskService.GetTaskCommandByTaskInstance(taskDone, true);
    //验证按钮个数是否为1
    assertEquals(1, commands.size());
    //取得按钮对象
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.