[improve-#13956] taskId is null (#13980)

Co-authored-by: fuchanghai <‘2875334588@qq.com’>
This commit is contained in:
fuchanghai 2023-04-21 15:49:43 +08:00 committed by GitHub
parent c2711f501f
commit d617620b00
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -1936,6 +1936,7 @@ public class WorkflowExecuteRunnable implements Callable<WorkflowSubmitStatus> {
log.info("The dependResult of task {} is success, so ready to submit to execute", task.getName());
Optional<TaskInstance> taskInstanceOptional = submitTaskExec(task);
if (!taskInstanceOptional.isPresent()) {
task.setId(0);
this.taskFailedSubmit = true;
// Remove and add to complete map and error map
if (!removeTaskFromStandbyList(task)) {