[Fix-14714][master] package task instance before put into cache (#14718)

Co-authored-by: eye <eye.gu@aloudata.com>
Co-authored-by: xiangzihao <460888207@qq.com>
This commit is contained in:
eye-gu 2023-08-09 13:41:28 +08:00 committed by GitHub
parent 11d1df2f32
commit 7c37a7f9fe
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -849,6 +849,7 @@ public class WorkflowExecuteRunnable implements IWorkflowExecuteRunnable {
}
}
processService.packageTaskInstance(task, workflowInstance);
validTaskMap.put(task.getTaskCode(), task.getId());
taskInstanceMap.put(task.getId(), task);
taskCodeInstanceMap.put(task.getTaskCode(), task);