// 驳回请求
task = taskService.createTaskQuery().taskAssignee("user1").singleResult();
assertEquals("处理后驳回", task.getName());
Map<String, Object> vairables = new HashMap<String, Object>();
vairables.put("reject", true);
taskService.complete(task.getId(), vairables);
// 再次获取节点-分配给角色
task = taskService.createTaskQuery().taskCandidateGroup("role1").singleResult();
assertEquals("分配给角色", task.getName());