Populate alert fields from a task template and custom script

When configuring or modifying an alert rule, you can assign a task template to add required information. Custom script can be used to dynamically assign alert fields to the task. When required, both task templates and custom script can be used.

Assigning a task template

Assign a task template to an alert rule to populate fields in the alert that is generated with predetermined information. The information in the task template fields populate the fields of the resultant alert. This information is fixed and repeated each time the template is used.

Configuring custom script

Configure custom script to populate fields in the alert that is generated with dynamic information. The resultant alert shows information that is current and this information can change each time that an alert is generated.

Assign a task template and use custom script

You can optionally both assign a task template to an alert rule and use custom script that inserts dynamic values into the alert fields. In this way, certain fixed information is displayed along with information that changes according to the specified requirements. When both task template and script are used, the task template runs first and thereafter the script runs.