Skip to content

The notifications through webhook notification type for Approved Message Body,Workflow Denied Message Body not getting to microsoft teams from AWX.Remaining success,started,failure notifications are working fine. #8225

Description

@venu1428

ISSUE TYPE
Bug
COMPONENT NAME
UI
SUMMARY
I have setup webhook notification configuration to microsoft teams from awx.I have get the notificcations for sucess,failure,start cases but not getting notification for Workflow Approved Message Body,Workflow Denied Message Body.

I have used default the Workflow Approved Message Body to test but failed to get the notifications.

{
"@type": "MessageCard",
"summary": "Workflow approval node was need review: {{ approval_node_name }}",
"title": "Workflow approval node was need review: {{ approval_node_name }}",
"themeColor": "FF0000",
"potentialAction": [
{
"@type": "ViewAction",
"name": "View workflow job on AWX",
"target": [
"{{ workflow_url }}"
]
}
]
}

ENVIRONMENT
AWX version: 13.0.0
AWX install method: docker on Centos
Ansible version: 2.9.10
Operating System: Centos
Web Browser: Firefox
"content-type": "application/json"
Http method: POST

STEPS TO REPRODUCE
as described here:
https://docs.ansible.com/ansible-tower/latest/html/userguide/notifications.html#webhook

and here:
https://docs.microsoft.com/en-us/microsoftteams/platform/concepts/connectors

EXPECTED RESULTS
Expecting the notifications needs to come to microsoft teams for approval
ACTUAL RESULTS
I am getting error not getting notifications for approval node messages.I have enabled all the notifications in template.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions