The following diagram describes how the notification system determines whether or not a notification is sent (and if one is to be sent, to which users it should be sent).
Event Detection and Qualification
Each record addition, deletion, and update that occurs in the system is an "event" that is detected by the notification system in Virtual Ticket. When such an event is detected, Virtual Ticket determines whether or not a notification routine has been defined for it. If no notification routine has been defined for the event, no notification processing occurs. However, if a notification routine has been defined for the event, Virtual Ticket then determines if the notification condition evaluates to "True" for the event. If it does, the event is considered "qualified" and the system continues processing the notification routine. If the event is not qualified (that is, if the notification condition does not evaluate to "True" for the event), no further processing of the notification routine occurs and no notification will be generated (or sent).
Recipient Analysis and Results
If the system qualifies the event (a notification routine is defined for it and the notification condition evaluates to "True"), the system attempts to determine which users the notification should be sent to. This is called "Recipient Analysis". In this phase of notification processing, there is still the possibility that the system will determine that the notification will not be generated and sent. This can occur in the following situations:
No recipients are selected and the Delivery confirmation option is not used.
The recipient restriction condition (if used) does not evaluate to "True" for any selected recipients and the Delivery confirmation option is not used.
In all other cases, a notification will be generated. If the notification routine uses the Delivery confirmation option, the user who performed the action that initially resulted in notification processing will be presented with a confirmation window in which s/he can review and edit the notification message, edit the recipients, and send or cancel the notification. If the notification routine does not use the Delivery confirmation option, the notification will be sent without user intervention to the recipients (as determined by the selected recipients and (if used) any recipient restrictions).
"Defining Notification Routines"
"Setting Up Notification Conditions"
"Setting Up Additional Recipient Restriction Conditions"
"Using the Recipient() MetaScript Object"