Defining after SQL statements for alerts
Define SQL statements for system to execute after executing the defined grid query and after creating e-mail and work order alerts.
- Select Administration > Setup > Alert Management.
- Select the alert for which to define the after SQL statement, and then click the After SQL tab.
-
Specify this information:
- SQL Statement
- Specify the SQL statement that will be executed after the grid query and alerts.
- Comments
- Specify comments regarding the SQL statement.
- Execute when Previewing Grid
- Select to execute the SQL statement when Grid Preview is selected.
- Active
- Select to set this SQL statement record to active.
The SQL statement is processed after the grid query is processed. Note: To process the after SQL statement when the alert job is run or Grid Preview is selected on the Record View page of the Alerts form, you must select Active.
-
Click
Save.
Note: Click Test SQL to check the validity of the SQL statement.