Submitting forms on the support site are temporary unavailable for schedule maintenance. If you need immediate assistance please contact technical support. We apologize for the inconvenience.
How to add the agent_name to the e-mail subject in a rule?
설명
How to add the agent name to an email subject in a rule?
해결 방안
Please follow the steps below:
Open the Rules dashboard: "Administration | Rules & Notifications | Rules"
Find the needed rule and open it in the "Rule Editor"
Open the "Conditions & Actions" tab and the needed condition
Select "Severity Level Variables" and define a new variable: Set a name, choose type "Expression" and add in the expression field: scope.get(monitoringAgent/agentInstance)
Click "Add" and save the change
This variable can be used in the email action now. Open the email action and click on the "mail.subject" field
In the "Action Parameter Editor", under "Rule/System Variables", choose the new defined variable and click on "Change"
The variable can be used for any other email fields too, for example in mail.message.