Creating Automated Email Alerts from Automic Workload Automation Using SQLI Variables
In the Process Assembly tab, create a new folder TEST for keeping all the objects in one place for
pre-deployment testing.
Add the following objects in the TEST folder and rename them as per the naming conventions:
1. VARA Object (SQLI Variable)
2. Notification Object (CALL.MAIL.HTML)
3. Service Level Objective (SLO)
Configuring the VARA Object (SQLI Variable)
SQLI Variables are Internal Automic SQL variables with the capability to connect to the AE Database
without any connection details, i.e., internally, hence the name SQLI (SQL Internal).
Open the variable and in the relevant field, input and save the AE Database query which would fetch
the records.
Click on Preview to verify the results.
Save the object.
Configuring the Notification Object (CALL.MAIL.HTML)
In the Notification Pane, Customise the message as per the business requirements. Keep in mind,
that the mail body is divided in to two parts. One configured in the Messages Tab inside the
Notification Pane and the other inside Process Pane.
The Process Pane uses AE Scripting Language for configuration.
Configuring the Service Level Objective (SLO)
Configure the Service Level Objective as per the requirements, i.e., the condition on completion of
which the mail should get fired.
Service Selection lets us select the Service (OBJECT/Condition) for the fulfilment.
Sample Output of the Mail Received
rtlog_report.ksh –
echo statements in ksh are changed to add : - so email report can filter correct line in report.
Backup file –
Updated file –