Designer 10.15 | webMethods BPM Task Development Help | Working with Task Notifications | About the Task E-mail Listener
 
About the Task E-mail Listener
The ability to receive e-mail replies from a Task Action Link embedded in a task notification requires you to configure a task e-mail listener in My webMethods Server. To do so, you must:
*Identify or set up a POP3 e-mail account that will be used to receive replies from the task notification.
*Configure the Task Engine to monitor this e-mail account for reply e-mails.
For more information about the configuration and behavior of task notification e-mail replies, see the PDF publication webMethods Task Engine User’s Guide.
You provide the e-mail server and user account information, and set a monitoring interval (for example, every 5 minutes). You can configure multiple e-mail listeners to monitor different mailboxes on different schedules. When the listener checks the specified account, it downloads any e-mails in the monitored account.
For each downloaded e-mail, the e-mail listener:
1. Deletes the e-mail from the server.
2. Parses the e-mail body looking for encoded action request. If a request is not found or is malformed, an error is logged in the Task Engine logs and the e-mail is ignored.
3. Determines the task instance for given taskID specified in the request.
4. Checks that the security GUID contained in the request matches the one stored on the task (the latter is generated during task notification publishing). If these values do not match, an error is recorded in the logs and in the task audit and the e-mail is ignored
5. Determines the binding expression of the action from the action ID from the request (this is again stored in the task instance during task notification publishing).
6. Executes the specified action for the given task and records an e-mail receive event in the task audit.
Related Topics