apache / apache/dolphinscheduler

[Improvement][Alter] Add instance link to alert like email

Open
#16,716 5 comments 0 reactions 0 assignees View on GitHub
discussion help wanted improvement
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

![image](https://github.com/user-attachments/assets/3890b5da-1924-4b47-bc34-570116bca346)

![image](https://github.com/user-attachments/assets/14651dfc-1135-4e9e-a496-3198fcac841a)

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

Open the contributing 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.