Trading Networks 10.3 | Administering and Monitoring B2B Transactions | Optimize for B2B User’s Guide | Overview of webMethods Optimize for B2B | How Trading Networks Processes Transaction Data | Stages at Which Events Are Passed to the Broker | Preventing Duplicate Events
 
Preventing Duplicate Events
When a TN document type has both Execute a Service and Deliver Document By actions associated with it, if the document processing fails and the document is reprocessed, duplicate events could get passed to the broker (deprecated). To prevent duplicate events, set the Send BAM Event After field on the Document Type Attributes page for the TN document type to specify the action after which the events will be passed. Depending on which option you select in this field, Trading Networks passes the events to the broker (deprecated) after the selected action is complete and thus avoids duplicate events being passed. For information about the Send BAM Event After field, see Configuring TN Document Types and Attributes for BAM.