Package com.founder.fix.fixflow.core.task

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


    TaskService taskService = processEngine.getTaskService();

    TaskQuery taskQuery = taskService.createTaskQuery();

    TaskInstance taskInstance=taskQuery.taskId(taskId).singleResult();
   
        

    return null;
View Full Code Here


    TaskInstance taskInstance = taskQuery.taskAssignee("1200119390").processInstanceId(processInstanceId).taskNotEnd().list().get(0);
   
    String taskId = taskInstance.getId();
    taskService.setAssignee(taskId, "121231231");
    taskQuery = taskService.createTaskQuery();
    taskInstance = taskQuery.taskId(taskId).singleResult();
    //assertEquals("121231231", taskInstance.getAssignee());
  }
  /**
   * 测试查询可退回的任务
   */
 
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.