// 如果是从配置任务负责人的页面过来,就保存TaskConf,再从草稿中得到数据启动流程
int index = 0;
for (String taskDefinitionKey : taskDefinitionKeys) {
String taskAssignee = taskAssignees.get(index++);
BpmTaskConf bpmTaskConf = new BpmTaskConf();
bpmTaskConf.setBusinessKey(businessKey);
bpmTaskConf.setTaskDefinitionKey(taskDefinitionKey);
bpmTaskConf.setAssignee(taskAssignee);
bpmTaskConfManager.save(bpmTaskConf);
}
}
return businessKey;