CA APM Alert_Description value not sent when testing email action

Document ID : KB000124397
Last Modified Date : 11/01/2019
Show Technical Document Details
Issue:
The aim is to insert a brief description into email alerts, with a different description for each alert.

According to the documentation there is a field "Description" in each alert and also a variable for that, called ${Alert_Description}.
The email action also has a description field but there is no associated template variable for it.

The alert template has been updated with the new variable ${Alert_Description} and we click on the test button.

By doing several tests, it is observed that the description of the alert in the email is NOT reported by this variable, but rather the description of the action.

That is not expected since the variable name is called "Alert_Description" and not "Action_Description".
Environment:
Observed in APM 10.7 but behaviour relevant for all supported releases, this type of email action was introduced in WebView in APM 9.7
Cause:
When clicking the test button of the email action, you are not invoking any actual alert, so the description can only be read directly from the action itself.
Resolution:
This is working as designed, when a real alert is fired, the alert description will be used in the email.
Additional Information:
https://docops.ca.com/ca-apm/10-7/en/administrating/configure-webview/create-and-configure-notification-actions/#CreateandConfigureNotificationActions-DefineaCommonSMTPEmailNotificationTemplate