fuchanghai commented on issue #13045:
URL: 
https://github.com/apache/dolphinscheduler/issues/13045#issuecomment-1331747139

   - 1. add ```workflow.submit.max.times=10 ``` in application.yml
   - 2. add parameter ``` private int maxSubmitTimes;``` in class of 
WorkflowEvent 
   - 3. when workflowSubmitStatue is fail after submit workflow, decrement ``` 
maxSubmitTimes```
   - 4. when ```maxSubmitTimes``` equal 0 get ``` WorkflowExecuteRunnable``` 
sumbit a special ```stateEvent ```
   - 6. update the method of ```handleEvents``` that get the 
special```stateEvent``` will update processInstance by id  and run the method  
of ```endProcess```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to