apache / apache/dolphinscheduler
[Improvement][Alter] Add instance link to alert like email
- Dominant language
- Java
- Stars
- 14.5k
- Forks
- 5.1k
- Avg merge
- 1d 21h
- Merged PRs (30d)
- 28
Description
### 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


The current alert content has some information like projectName, processName, logPath, I am consider can we add the task instance link to the content.
Then when job failed we can click the link directly into the instance, to check the log.
The link address pattern is like:
```
http:///dolphinscheduler/ui/projects//workflow/instances/?code=
```
- uiAddress
need config when startup
- projectCode, processId, processDefinitionCode
all can get them directly, because the current content has those fields.
### Are you willing to submit a PR?
- [ ] 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)
Contributor guide
Research direction
Start by locating where alert content is assembled and where startup configuration is defined. Trace how projectCode, processId, and processDefinitionCode are already included, then verify the configured uiAddress produces the requested workflow-instance URL in the alert content.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- backend
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100