|
@@ -63,12 +63,12 @@ public class WorkflowStartEventHandler implements WorkflowEventHandler {
|
|
|
CompletableFuture.supplyAsync(workflowExecuteRunnable::call, workflowExecuteThreadPool)
|
|
|
.thenAccept(workflowSubmitStatue -> {
|
|
|
if (WorkflowSubmitStatue.SUCCESS == workflowSubmitStatue) {
|
|
|
-
|
|
|
logger.info("Success submit the workflow instance");
|
|
|
if (processInstance.getTimeout() > 0) {
|
|
|
stateWheelExecuteThread.addProcess4TimeoutCheck(processInstance);
|
|
|
}
|
|
|
} else {
|
|
|
+
|
|
|
logger.error("Failed to submit the workflow instance, will resend the workflow start event: {}",
|
|
|
workflowEvent);
|
|
|
workflowEventQueue.addEvent(workflowEvent);
|