Running the Tutorial

To run the tutorial, you must send the 850 transaction from TIBCO Business Studio and check the sending results.

  1. Send the 850 transaction from TIBCO Business Studio. See Sending the 850 Transaction.
  2. Check the results of sending the message. See Expected Results and Viewing the Audit Log.
For steps on how to load and run private processes in TIBCO Business Studio, see TIBCO ActiveMatrix BusinessWorks Documentation for more details.

Sending the 850 Transaction

To see the 850 transaction, click X12 Message Processes > Send 850 Txn To BCCE in TIBCO Business Studio.

The following figure displays the Send 850 Txn to BCCE process:

Figure 52: Send 850 Txn to BCCE

This process performs the following operations:

  1. Reads a file containing XML data for a 850 transaction.
  2. Parses the 850 XML data.
  3. Constructs a message containing the 850 XML data, and sends it to TIBCO BusinessConnect™ Container Edition - EDI Protocol powered by Instream®.

Running the Process

This procedure describes how to run the process.

  1. In the Project Explorer, right-click the process and then select Run As option from the menu.
  2. In the Run Configurations dialog box, select the process you wish to run.
  3. Click Apply > Run.

If everything is configured and runs properly, you can get the result shown in the following figure:

Figure 53: XML 850 Transaction Read from a File


Expected Results

When the 850 transaction is received by TIBCO BusinessConnect EDI Protocol powered by Instream, several operations are performed.

  1. TIBCO BusinessConnect™ Container Edition - EDI Protocol powered by Instream® converts XML to X12 data.
  2. TIBCO BusinessConnect™ Container Edition - EDI Protocol powered by Instream® validates the X12 data against an 850 guideline
  3. The validated X12 data is bundled into an interchange for sending to the trading partner.
  4. The X12 interchange is written to a file on the local file system when it simulates sending the interchange to the trading partner.

Observations

The Send 850 Txn activity of the Send 850 Txn To BC.process contains the output indicating that the 850 transaction is successfully sent to the trading partner.

Viewing Audit Logs

This procedure describes how to view the audit log on the Initiator machine

  1. On Data Viewer tile, click Audit Trail.
  2. On the Audit Trail page, click the X12 link.
  3. Select items from the following lists: Status, Connection, and Date Range.
  4. Click Find to search for the matching audit logs.

    Figure 54: Transactions page



  5. Select the transaction chain in the search result area for a specific operation to view the entire transaction chain.

    Figure 55: Transaction Chain

  6. To see more details, click on the Audit Event of the transaction chain.

    Figure 56: Audit Event Details


    This view provides you with all message details. It also provides the status of the message.

Retrieving the User Key for Outbound Documents

User key retrieval after the outbound documents are converted from XML to EDI is recorded in the row User Key: User Key: AB Purchase Order Number.