<!--break-->
Configuration configuration = new Configuration();
ProcessEngine pe = configuration.buildProcessEngine();
//通过taskid取executionId
String executionId = pe.getTaskService().getTask(taskid).getExecutionId();
//
List <HistoryTask>list = pe.getHistoryService().createHistoryTaskQuery().executionId(executionId).list();
for(int i=0;i<list.size();i++){
Task task = pe.getTaskService().getTask(list.get(0).getId());
if(task.getName().equalsIgnoreCase(decision.replaceAll("退回", ""))){
selectDecisionUsers = new SelectItem[1];
selectDecisionUsers[0]=new SelectItem(task.getAssignee(),task.getAssignee());
}
}