Oracle Workflow Guide
Release 2.6.2
Part Number A95265-03 |
|
Response Processing
You must create three folders or files in your response mail account before starting the Notification Mailer to process responses. The three folders or files serve to hold discarded, unprocessed, and processed messages.
The Notification Mailer does the following to check for response messages:
- Logs into the response mail account.
- Checks for messages. If a message exists, it reads the message, checking for the notification ID and node identifier.
- If the message is not a notification, it moves it to the discard folder.
- If the message is a notification for the current node, it moves the message to the unprocessed folder.
- If the message is a notification, but for the wrong node, it does not move the message so that the Notification Mailer for the correct node can read it later.
The Notification Mailer then opens the unprocessed folder to process each response. For each message, it:
- Retrieves the notification ID.
- Checks to see if the message bounced by referring to a specified tag file, if any. If the message bounced, it reroutes it or updates the notification's status and stops any further processing depending on the specifications of the tag file.
- Checks the Oracle Workflow database for this notification.
- If the notification does not exist, it moves it to the discard folder.
- If the notification exists, but is closed or canceled, it moves it to the discard folder.
- If the notification exists and is open, it verifies the response values with the definition of the message's response attributes in the database. If a response is invalid, it sends an Workflow Invalid Mail message to the recipient role. If the responses are valid, it calls a Respond function to complete the notification response and saves the change to the database.
- Moves the message for the completed notification to the processed folder and closes the unprocessed folder.
The Notification Mailer then truncates the discard and processed folders, if a '-' precedes the discard and process parameters specified in the configuration file, and logs out of the mail and database accounts.
See: Implementing the Notification Mailer
See: Starting the Notification Mailer
|
Copyright © 1996, 2002 Oracle Corporation.
All Rights Reserved.