ruanwenjun opened a new issue, #11225: URL: https://github.com/apache/dolphinscheduler/issues/11225
### Search before asking - [X] I had searched in the [issues](https://github.com/apache/dolphinscheduler/issues?q=is%3Aissue) and found no similar feature requirement. ### Description Right now, we can set the alert when workflow executes failure. In some cases, if the alert plugin is a third party service like [pagerduty](https://www.pagerduty.com), when we send an alert we will call the service to send an alert, and it may send 5 minutes unless we close the alert(We can close the alert by manual too). But we may hope when the workflow success, the before alert can close automatically, so this issue is want to discuss add a new method closeAlert in alert plugin, we will provide a default method, the default method will do nothing, you can override this. When the workflow execute success we will check if there exist a alert, and insert a close alert event, the AlertServer side will consume the event and execute the closeMethod. ### Use case _No response_ ### Related issues _No response_ ### 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](https://www.apache.org/foundation/policies/conduct) -- 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]
