dolphinscheduler
dolphinscheduler copied to clipboard
[Improvement][API] When removing or modifying a workflow the system should check if there any tasks depend on it.
Search before asking
- [X] I had searched in the issues and found no similar feature requirement.
Description
When removing or modifying a workflow the backend api doesn't check if there any tasks depend on it. If you remove a workflow, its dependent tasks can't execute properly. Likewise, if you remove a task. So the backend api needs to check.
Are you willing to submit a PR?
- [X] Yes I am willing to submit a PR!
Code of Conduct
- [X] I agree to follow this project's Code of Conduct