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

Examples of com.founder.fix.fixflow.core.task.TaskInstance.suspend()


  }

  public void suspendTask(String taskId) {
    TaskService taskService=getProcessEngine().getTaskService();
    TaskInstance taskInstance=taskService.createTaskQuery().taskId(taskId).singleResult();
    taskInstance.suspend();
    taskService.saveTask(taskInstance);
  }


 
View Full Code Here


  }

  public void suspendTask(String taskId) {

    TaskInstance taskInstance=createTaskQuery().taskId(taskId).singleResult();
    taskInstance.suspend();
    saveTask(taskInstance);
  }

  public TaskQuery createTaskQuery() {
    return ProcessObjectFactory.FACTORYINSTANCE.createTaskQuery(commandExecutor);
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.