| Previous | Next |  | Contents | Index | Glossary

## Processing a Notification Response

After a recipient responds, the Notifications web page or Notification Mailer assigns the response values to the notification response attributes and calls the notification Respond( ) API. The Respond( ) API first calls a notification callback function to execute the notification activity's post-notification function (if it has one) in RESPOND mode. The post-notification function may interpret the response and perform tightly-coupled post-response processing. If the post-notification function raises an exception, the response is aborted. See: Post-notification Functions.

If no exception is raised, Respond( ) marks the notification as closed and then calls the notification callback function again in SET mode to update the corresponding item attributes with the RESPOND notification attributes values. If the notification message prompts for a response that is specified in the Result tab of the message's property page, that response value is also set as the result of the notification activity.

Finally, Respond( ) calls WF_ENGINE.CompleteActivity( ) to inform the engine that the notification activity is complete so it can transition to the next qualified activity.

| Previous | Next |  | Contents | Index | Glossary