|
Notification variables |
Top Previous Next |
|
Notifications can be reached from the main window under Manage notifications or from the Notification tab under Job or Task. When the list is viewed from a job or task window you are able to check if you want to connect it to that job or task. Remember to save the job to commit changes.
With an open Add/Edit job dialog and clicking the Add button, a list of notifications are presented for adding. For those notifications that uses a message, variables are helpful in customizing a notification message.
Example of Variables are the computer name, the name of a task or the current time. Variables can be used at different places. For email, the variables can be placed in the body or subject for example. When using an SQL notification you can use variables in your SQLs or stored procedure values.
Click on the Variables button to open the variables window. To use a variable, select and drag the variable from the Variables tree view to the notification Message/Body text box where you want to use it. You can move the "tag" around or write it manually. Remember to keep the uppercase characters and the colon characters surrounding the variable tag.
View additional variable information.
Note: All variables are not available at all times. The variables are highly dependant on when you choose to notify. For example, specific task variables are only available when you choose to Notify when started or Notify when completed. Also, if you choose to the variable Output you will get the output of the previous run when using when a task has completed. The current output is not available until "when a task has completed". |