Introduction
CATSWeb sends automatic E-mail notification messages when various events occur, such as adding new records, reassigning records, etc. This application note demonstrates how to include additional E-mail addresses in these notification messages.
Implementation Example
Step 1 - Create a List of Addresses
- From the Manage page, click Lists in the Administration section and add a new list. Assign it a name (e.g. "My Notification List").
- Add items to the list. For each item, enter a valid E-mail address in the List Item field. The Sequence, Selector, and Extra Data fields are not used for this purpose and may be left blank.
Step 2 - Create a Stored Procedure Data Link
- From the Manage page, click Data Links in the Connectivity and Escalation section and add a new Stored Procedure data link.
- Enter a name for the data link (e.g. "Notify - My Notification List")
- In the Procedure Name field, enter "sp_GetNotificationAddresses".
- Submit the new data link.
- Select the new data link in the list. When the edit page opens, click the Free-form Edit link near the top of the form. A new edit form appears that uses text boxes instead of pull-down lists for the stored procedure parameters.
- In the Parameter 1 field, enter the name of the list you created in step 1 (e.g. "My Notification List")
- Submit the edited data link.
Step 3 - Create an Event Hook
- From the Manage page, click the appropriate form type in the Form and Workflow Design section to access the list of categories. Click the name of the category that the notification list will apply to.
- Click Add under the Event Hooks section.
- Enter a Title for the event hook, such as "Lookup Extra Notification Addresses".
- In the Data Link pull-down, select the stored procedure data link that you created in step 2 (e.g. "[Notify - My Notification List]").
- Check the Active box, and check one or more of the Active on... boxes to enable the extended notifications on the desired CATSWeb event. Note that CATSWeb does not send a notification message after an edit operation (unless an Affiliate User performs the edit) so checking the Active on Edit box will have no effect on edits performed by full users. The Override User Inputs... boxes have no effect for this application.
- Submit the new Event Hook.
|