Skip to content

[Fix-16716] Add workflow instance link to alert content#18306

Closed
KaiSong-UK wants to merge 1 commit into
apache:devfrom
KaiSong-UK:dev
Closed

[Fix-16716] Add workflow instance link to alert content#18306
KaiSong-UK wants to merge 1 commit into
apache:devfrom
KaiSong-UK:dev

Conversation

@KaiSong-UK

Copy link
Copy Markdown

What is the purpose of the change

This PR adds a workflow instance link to the alert content, so users can click the link directly from the alert (e.g. email) to navigate to the workflow instance page and check logs.

Closes #16716

Brief change log

  • Added askInstanceUrl field to WorkflowAlertContent
  • Added configurable �lert.ui-service-url property (defaults to http://localhost:12345) in master's �pplication.yaml
  • WorkflowAlertManager now constructs the instance link URL and includes it in alert content

Verify this change

The link follows the pattern: http:///dolphinscheduler/ui/projects//workflow/instances/?code=

To use a different UI address, configure �lert.ui-service-url in the master �pplication.yaml.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

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

2 participants