cherry-pick [improve-#13045] after a submit failure, stop the processInstance to avoid an endless loop

#13051
This commit is contained in:
fuchanghai 2023-02-20 14:10:59 +08:00 committed by zhuangchong
parent f4fae98d67
commit ff5fecdfd5
1 changed files with 1 additions and 1 deletions

View File

@ -71,7 +71,7 @@ public class WorkflowStartEventHandler implements WorkflowEventHandler {
}
} else if (WorkflowSubmitStatue.FAILED == workflowSubmitStatue) {
logger.error(
"Failed to submit the workflow instance, will resend the workflow start event: {}",
"Failed to submit the workflow instance, will resend the workflow start event: {}",
workflowEvent);
WorkflowStateEvent stateEvent = WorkflowStateEvent.builder()
.processInstanceId(processInstance.getId())