Examples of taskIsEnd()


Examples of com.founder.fix.fixflow.core.impl.task.TaskQueryImpl.taskIsEnd()

    List<TaskInstance> taskInstanceQueryToList = new ArrayList<TaskInstance>();


    taskQuery.processInstanceId(processInstanceId);
    taskQuery.taskIsEnd().orderByEndTime().asc().orderByTaskCreateTime().asc();
    taskInstanceQueryToList = taskQuery.list();
   
   
   
    List<String> processInstanceIdList=new ArrayList<String>();
View Full Code Here

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

      String processName = processInstance.getProcessDefinition().getName();
      try{
        TaskQuery tq = engine.getTaskService().createTaskQuery();
        IdentityService identityService = engine.getIdentityService();
        tq.processInstanceId(processInstanceId);
        tq.taskIsEnd().orderByEndTime().asc();
        List<TaskInstance> instances = tq.list();
        List<Map<String,Object>> instanceMaps = new ArrayList<Map<String,Object>>();
        for(TaskInstance tmp:instances){
          Map<String,Object> instanceMap = tmp.getPersistentState();
          String assigneeUserId = tmp.getAssignee();
View Full Code Here

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

    List<TaskInstance> taskInstanceQueryToList = new ArrayList<TaskInstance>();


    taskQuery.processInstanceId(processInstanceId);
    taskQuery.taskIsEnd().orderByEndTime().asc().orderByTaskCreateTime().asc();
    taskInstanceQueryToList = taskQuery.list();
   
   
   
    List<String> processInstanceIdList=new ArrayList<String>();
View Full Code Here

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

    //创建一个任务查询
    TaskQuery taskQuery = taskService.createTaskQuery();
    //查询上面启动的流程实例
    taskQuery.processInstanceId(processInstanceId);
    //查询已完成的任务,(处理过程)
    List<TaskInstance> taskDone = taskQuery.taskIsEnd().list();
    //验证任务数是否为2,启动和开始是两个任务
    assertEquals(2, taskDone.size());
    //重置任务查询
    taskQuery = taskService.createTaskQuery();
    //查询未完成的任务,(当前处理)
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.