Use notifications to send messages and output files based on task status to email addresses or any output device defined in Applications Manager.
Use notifications to create output files based on task statuses and send those output files to email addresses or any output device defined in Applications Manager. To use notifications, you:
You define notification objects, and then assign them to process flow components, jobs, applications, and program types. A sample notification definition is shown below. If a task has notifications defined for it in multiple objects, all notifications are performed.
Add Notification details to the notification object to send message text based on task status.
Prerequisite: Specifying Email Settings
In order to send notification emails, you must specify email settings for the Applications Manager automation engine/local agent.
Creating Notifications
To add notifications using the Applications Manager client:
Applications Manager opens the Notifications window.
For information on using selector windows, see Adding, Editing, and Deleting Applications Manager Objects.
Adding Notification Details
To add notification details to a notifications object:
Applications Manager opens the Notification Details window.
Applications Manager adds the notification detail to the Details table on the Notifications window.
Notification details are evaluated in the order they are listed. If you wish to reorder them, use the arrow buttons to the right of the list.
Assigning Notifications
After you have defined a notification object, you can assign it to process flow components, jobs, applications, and program types. If you assign the object to an application, the notification will apply to any job assigned to that application. The same holds true if you assign the object to a program type. Being able to assign notification objects to applications and program types makes it easy to set up notifications for a whole class of jobs.
Notification Field Description
Field | Description |
---|---|
Applications Manager evaluates notifications for a task at least every 59 seconds. However, you select how often the action for each notification detail should be taken:
|
|
Specifies the status that will trigger the notification:
|
|
Specifies the message sent to the email recipients and Applications Manager output devices you select. The message text is also written to an output file named notif_<run_id>_<series> that you can view on the Output Files tab of the Task Details window from the Backlog and History.
Either method allows the use of substitution variables and replacement values for variable text. |
|
Text written as the subject when sent as an email. Allows the use of substitution variables and replacement values. The default subject, {status} {run_id} uses replacement values to alert the recipient(s) of the status and run ID of the task. |
|
List of one or more email addresses to receive email notification. Separate multiple email addresses with a space or semicolon. To select from emails assigned to Applications Manager users, click the Select button. Applications Manager opens a window where you can select the email addresses. In order to send notification emails, you must specify email settings for the Applications Manager automation engine/local agent. |
|
(radio buttons) |
Specifies the output files to attach to the emails specified above and the output device specified below (if allowed in its definition):
|
Normal |
When selected, file contents are attached to the email. |
In Body |
When selected, file contents are included in the email body rather than as attachments. |
Zip |
When selected, files are attached in a zip file. |
|
When selected, files are converted to a PDF file and attached. |
System Output As |
Renames the attached system output file to whatever name you select. To use the file name for the system file, use the {file_name} replacement value. For example, {file_name}.txt. |
Other Output As |
Renames the attached output file(s) to whatever name you select. To number multiple other output files, use the special subvar {#}. For example, assume you want to rename output for a program to finance{run_id}, and the task creates two or more output files. You might enter finance{run_id}{#} in this field. To use the file name for the other file(s), use the {file_name} replacement value. For example, {file_name}.txt. |
(On Output Device tab) |
Specifies the output device or set of devices where the output will be sent (for example: EMAIL, ACCOUNTING LASER, ATLANTA LASER). Printing to output devices for notifications will be done on the automation engine machine rather than on remote agents. |
Output Option (On Output Device tab) |
Used for specifying dynamic output options for the selected output device. This field will be active if this value or list of values is defined by the output interface assigned to the output device. |