Alert email generation for failed file transfers
The OFTP generates alert emails for failed file transmissions and timeouts.
The OFTP implementation in Sterling B2B Integrator supports generation
of alert emails for failed file transmissions with the following status:
- SEND_AND_GOT_NERP
- RECEIVED_AND_NERP_CREATED
- FAIL
- RECEIVE_FAIL
Alert emails are also sent for the following timeouts:
- File schedule timeout
- EERP timeout
- NERP timeout
Based on the configuration, alert emails are generated for every failed transfer or according to a specified schedule, which is configured in OFTP scheduler.
Email generation for every failed transfer
The Odette FTP Logical Partner profile
page is updated to support alert email generation for failed transfers
in general and to generate alert mails for every failed transfer in
specific. The following table lists the new fields:
Field | Description |
---|---|
Contact Mail ID | Specify the email ID to which the alert email must be sent. |
Mail Server Host | Specify the email server host name. |
Mail Server Port | Specify the email server port number. |
Generate Alert Mails for each Failure | Select the check box if you want alert emails
to be generated for each failed transfer. Note: The check box must
be selected to generate alert emails for every failed transfer.
|
Note: The Contact Mail ID, Mail Server Host and Mail
Server Port fields are also used when the email generation
is scheduled.
Email generation based on scheduling
To
schedule the alert email generation, configure the OFTP scheduler.
The OFTPScheduler: OFTP Mail Generation Parameters page
is added to the OFTP Services Configuration page.
The following table describes the fields in the OFTPScheduler:
OFTP Mail Generation Parameters page:
Field | Description |
---|---|
Number of mins after which it will check for Failures and generate Mails.(0=No Schedule) | Specify the number of minutes the scheduler must wait before it checks for failures and generates alert emails. |
Select Logical Partner for which Alert Should be generated | Select the logical partner for which alert email must be delivered and click the arrow to add it to the selected list. The contact email ID, email server host, and email server port are picked from the selected logical partner's profile. |
A system BP with the default OFTP_SMTP_Adapter is used
to send emails. If the email parameters are not configured in the Odette
FTP Logical Partner profile page, then the parameters are
picked from the sandbox.cfg
properties file.