[improve-#13956] taskId is null (#13980)
Co-authored-by: fuchanghai <‘2875334588@qq.com’>
This commit is contained in:
parent
c2711f501f
commit
d617620b00
|
|
@ -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)) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue