uCosminexus Service Platform, Overview
The mail adapter can invoke a mail server that supports the SMTP protocol as a service in Service Platform.
You can use the mail adapter to send notification email messages to users and a system administrator when a business process ends normally or if a system failure occurs. The mail adapter can also be linked with FTP reception and an FTP adapter to add any file to email.
Examples of a system using the mail adapter are as follows:
Each example in the system is described below. For details about FTP reception and FTP adapter functionality, see Chapter 8. Functionality to Transfer Files by Integrating with FTP (FTP Integration).
In this example, a user attaches a file transferred from an FTP client to an email message, and then sends it to another user.
Figure 2-64 Example of a system using the mail adapter (1)
The figure below shows the flow of the email send process and the flow of a file. The following numbers correspond to the numbers in the figure.
In this example, after the SOAP client starts a business process, a file acquired from the FTP server via the FTP adapter is attached to an email message, and then the email message is sent to another user.
Figure 2-65 Example of a system using the mail adapter (2)
The figure below shows the flow of the email send process and the flow of a file. The following numbers correspond to the numbers in the figure.
In this example, after a workflow application is invoked from the business process via the service adapter, an authorization request email message is sent to the authorizer, and then the workflow process is performed.
Figure 2-66 Example of a system using the mail adapter (3)
The figure below shows the flow of the email send process. The following numbers correspond to the numbers in the figure.
In the case of asynchronous business processes, even if processing of a business process continues after a response is sent to the service requester, the user will not be notified of completion of subsequent processing. In this example, the mail adapter is used to notify the user by email that an asynchronous business process has completed.
Figure 2-67 Example of a system using the mail adapter (4)
The figure below shows the flow of the email send process. The following numbers correspond to the numbers in the figure.
In this example, if an error occurs during service invocation in the business process, the system administrator is notified of the error by email.
Figure 2-68 Example of a system using the mail adapter (5)
The figure below shows the flow of the email send process. The following numbers correspond to the numbers in the figure.
All Rights Reserved. Copyright (C) 2015, Hitachi, Ltd.