流程结束归档所有的历史任务
This commit is contained in:
parent
963b468bfa
commit
267b4dda35
@ -473,7 +473,6 @@ public class OaPendComponent {
|
||||
//流程结束时,归档所有任务
|
||||
xmlDatasUtil.setCurrentnodetype("1");
|
||||
//如果是终止或者废止的话,将历史记录全部更新
|
||||
if (!actionName.equals("确认发布")){
|
||||
try {
|
||||
String processInstId = pec.getProcessInstance().getId();
|
||||
List<HistoryTaskInstance> list = SDK.getHistoryTaskQueryAPI().processInstId(processInstId).list();
|
||||
@ -486,7 +485,6 @@ public class OaPendComponent {
|
||||
}
|
||||
} catch (Exception e) {
|
||||
}
|
||||
}
|
||||
}else{
|
||||
xmlDatasUtil.setCurrentnodetype("0");
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user