Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Custom email notification for workflow approval/deny doesn't work #5401

Closed
jainnikhil30 opened this issue Nov 26, 2019 · 2 comments
Closed

Comments

@jainnikhil30
Copy link
Contributor

ISSUE TYPE

Custom email notification for workflow approval/deny doesnt work

SUMMARY

Custom email notification for workflow approval/deny doesnt work. It sends a blank email with no subject and body.

ENVIRONMENT
  • AWX version: 9.0.1
  • AWX install method: docker on linux
  • Ansible version: 2.8.5
  • Operating System: RHEL 7.6
  • Web Browser: Google Chrome 78
STEPS TO REPRODUCE

1.) Create an Email Notification
2.) Enable the custom notification
3.) Create a workflow with approval node in it.
4.) Enable all the 4 options for notification on workflow (APPROVAL, START, SUCCESS, FAILURE)
5.) Run the workflow.

EXPECTED RESULTS

While workflow waits for approval to be approved/denied. It should send a notification email with details.

ACTUAL RESULTS

It send an blank email with blank subject and body

@jainnikhil30
Copy link
Contributor Author

Also, after the actual notification is approved/denied. There is no email which is being sent. But if I setup a slack notification. I see following notifications:

The approval node "approval-1" needs review. This node can be viewed at: https://localhost/#/workflows/43837
The approval node "approval-1" was denied. https://localhost/#/workflows/43837

@appuk
Copy link
Member

appuk commented Dec 12, 2019

I verified this on a devel instance and it sends a custom email notification with appropriate subject and body, hence closing the issue

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

No branches or pull requests

4 participants