update hiwork消息新增flowid
This commit is contained in:
+3
-3
@@ -263,6 +263,9 @@ public class MyGlobalEventListener implements ActivitiEventListener {
|
||||
hiworkTodoAdd.setProcessDefinitionId(processDefinitionId);
|
||||
list.add(hiworkTodoAdd);
|
||||
pushWorkflowIntegrationAPI.sendTodoTask(list);
|
||||
|
||||
// 对接统一平台生成办结
|
||||
pushWorkflowIntegrationAPI.sendActivityComplete(list);
|
||||
}
|
||||
|
||||
private void activityComplete(ActivitiEvent event) {
|
||||
@@ -290,9 +293,6 @@ public class MyGlobalEventListener implements ActivitiEventListener {
|
||||
log.info("taskEntity.getActivityName() = " + execution.getActivityName());
|
||||
log.info("taskEntity.getDeploymentId() = " + execution.getDeploymentId());
|
||||
log.info("taskEntity.getProcessDefinitionId() = " + execution.getProcessDefinitionId());
|
||||
// 对接统一平台生成办结
|
||||
PushWorkflowIntegrationAPI pushWorkflowIntegrationAPI = SpringContextUtil.getBean(PushWorkflowIntegrationAPI.class);
|
||||
pushWorkflowIntegrationAPI.sendActivityComplete(processInstanceId);
|
||||
}
|
||||
|
||||
private boolean isFirstNodeTask(ProcessApprovalRecord record) {
|
||||
|
||||
Reference in New Issue
Block a user