EDI Outbound Mailbox Extraction Business Process
The EDI Outbound Mailbox Extraction business process is used to extract the EDI outbound translation data to a default mailbox.
Note: The parameters for this business process are configured on the
interchange level envelope, which you must create. If no parameters
are defined, Sterling B2B Integrator uses
the default extraction settings of the EDI Outbound Mailbox adapter.
When to Use
The EDI Outbound Mailbox Extraction business process is used when you want to automatically translate outgoing data from a mailbox.
What You Must Configure Prior to Using
Prior
to using the EDI Outbound Mailbox Extraction business process, you
must configure the following:
- Create a map to translate the outgoing data (unless you are sending XML data and then you do not need a map because extraction occurs through the EDI XML Outbound File System adapter User Parameters you configure).
- Create an envelope for the type of data you will send (for example, ASC X12 data). See Creating Envelopes to Use with EDI Translation Business Processes for more information.
- On the document (transaction-level) envelope, provide the name of the map. See Creating Envelopes to Use with EDI Translation Business Processes for more information.
- On the envelope, configure the Extraction Options parameter to Extract to a mailbox. See Creating Envelopes to Use with EDI Translation Business Processes for more information.
- On the envelope, configure the Data Extraction Mailbox and Data Extraction Mailbox Message Name parameters. See Creating Envelopes to Use with EDI Translation Business Processes for more information.
- Divert your outbound files to the install_dir/edioutbound/collect directory (if you are sending EDI data) or the install_dir/edioutbound/collect_xml directory (if you are sending XML data).
Outbound Process Flow to a Mailbox
The EDI
Outbound Mailbox Extraction business process is initiated as part
of the following outbound process flow when you a file is passed to
a default mailbox:
- The envelope for the outbound data is configured to extract the enveloped document to a mailbox.
- A file is sent to the default mailbox (EDIOutboundCollectionMailbox).
- The EDIOutboundCollectionMailbox default routing rule collects the mailbox message and places the message ID into ProcessData.
- The EDI Outbound File System adapter is kicked off to collect the file (by default the Outbound File System adapter is not kicked off automatically).
- Calls the EDI Outbound Mailbox Extraction business process.
- Queries the envelope to set the extraction mailbox (or uses the default parameters set in the EDI Outbound File System adapter).
- Calls the Mailbox Add service.
- Uses the data extraction setting that you configured in the envelope you created to write out the results of the deenveloping to the default mailbox (EDIOutboundExtractionMailbox).
If exceptions occur when running the EDI Outbound Mailbox Extraction business process, Sterling B2B Integrator generates an EDI Compliance Report.