EDI Deenvelope Business Process

The EDI Deenvelope business process includes the EDI Deenveloping service to support non-printable characters as EDI delimiters, split documents into interchanges and puts delimiters sent in the ISA (or UNA) into process data, and starts the X12 Deenveloping, EDIFACT Deenveloping, or CII Deenveloping business processes.

If exceptions occur when running an EDI Deenvelope business process, Sterling B2B Integrator generates an EDI Compliance Report.

The following figure shows the EDI deenveloping business process model as it displays in the GPM:

EDI deenveloping business process model

The following BPML code makes up the EDI deenveloping business process:

<process name="EDIDeenvelope">
      <participant name="EDIDeenvelope"/>
      <output message="Xout">
        <assign to="." from="*"></assign>
      <input message="Xin">
        <assign to="." from="*"></assign>


The following scenario shows how the EDIDeenvelope business process can deenvelope ANSI X12 documents:

  1. The File System adapter collects a file from an ANSI X12 collection folder and invokes the EDIDeenvelope business process.
  2. The EDI Deenveloping service determines that the file contains an X12 document and starts the X12Deenvelope business process.
  3. The X12Deenvelope business process removes the envelopes to make available the transaction set envelope for the X12 document and determine the next action to perform.
  4. For documents with CII Syntax Rule requirements, the X12Deenvelope business process parses the message group and uses the values indicated in the message group header to locate a matching envelope. The envelope then determines the next action to perform.
    Note: If the X12Deenvelope business process does not locate a matching envelope, the business process stops. Sterling B2B Integrator generates an EDI Compliance Report that describes the reason that the X12Deenvelope business process could not locate the envelope.