Trading Networks 10.7 | Administering and Monitoring B2B Transactions | webMethods Module for EDI | Batching EDI Documents | Delivering the Batch EDI Document
 
Delivering the Batch EDI Document
After the batchProcess service creates the final batch EDI document, it sends the batch EDI document to Trading Networks processing rules. You create another Trading Networks processing rule to deliver the final batch EDI document.
When defining the processing rule to deliver a batch EDI document, use the EDI Batch custom attribute. For a batch EDI document, the EDI Batch custom attribute is set to Interchange. You can use the EDI Batch custom attribute in the extended criteria of the processing rule so the processing rule is only used for a batch EDI document.
To deliver a batch EDI document, the processing rule can use one of the following actions:
* Execute a Service processing action to invoke a service that you create to deliver the final batch EDI document
* Deliver Document By processing action to send the document to a VAN
In My webMethods, use the Administration > Integration > B2B > Processing Rules page to define a processing rule in Trading Networks. The following table provides details about how to define the processing rules.
On this Processing Rules tab...
Specify...
Criteria
The standard criteria you want to use to select the processing rule. Specify criteria that describes the final batch EDI document that the batchProcess service creates.
Note:
If you use the Sender and/or Receiver criteria, the sender/receiver you need to specify is that of the BizDocEnvelope for the final batch EDI document. The sender/receiver are different based on whether the batchProcess service oneBatchQueue input parameter is SINGLEOUTPUT or MULTIPLEOUTPUTS. For more information, see step 3 in Creating the Batch EDI Document when Using SINGLEOUTPUT and Creating the Batch EDI Document when Using MULTIPLEOUTPUTS.
Extended Criteria
The custom attributes that you want to use as criteria to select the processing rule. The following shows the extended criterion you should add:
Attribute
Operator
Value
EDI Batch
Equals
Interchange
Action
How you want Trading Networks to deliver the final batch EDI document.
* Select Execute a Service processing action to invoke a service that you create to deliver the final batch EDI document.
* Select Deliver Document By processing action to send the document to a VAN. For more information, see Preparing to Deliver Documents to VANs.
For more information about creating processing rules, see the webMethods Trading Networks Administrator’s Guide for your release.