B2B Integration 10.4 | Administering and Monitoring B2B Transactions | webMethods Module for EDI | Processing Inbound TRADACOMS Documents Using Trading Networks | Trading Networks Attributes and EDI Documents When Using TRADACOMS | Managing Your Own Custom Attributes for EDI Documents When Using TRADACOMS | Defining a Processing Rule that Uses Your Custom Attribute as Criteria When Using TRADACOMS
 
Defining a Processing Rule that Uses Your Custom Attribute as Criteria When Using TRADACOMS
To use the custom attributes you defined as criteria in a processing rule, you need to:
*Associate custom attributes with EDI document types, as described in Managing Your Own Custom Attributes for EDI Documents When Using TRADACOMS.
*Create a processing rule to process the document, considering the following:
*Do not use content-based processing.
*Leave the Extended Criteria tab of the Processing Rules screen blank.
*In the Execute a Service processing rule, invoke a service that sets the values of the custom attributes, as described in Setting Attribute Values at Run Time When Using TRADACOMS.
*Ensure that the service invokes the wm.tn.reroute service so that Trading Networks selects another processing rule for the document. (The next processing rule uses your custom attributes as criteria.)
*Create a processing rule that uses the custom attributes as criteria in the Extended Criteria tab.
Note: When you order your processing rules, be sure to list the processing rule that uses your custom attributes as criteria before the processing rule that sets the attribute values. This ensures that Trading Networks will skip the processing rule that uses the custom attribute criteria the first time the document is processed but select it the second time.

Copyright © 2016- 2019 | Software AG, Darmstadt, Germany and/or Software AG USA, Inc., Reston, VA, USA, and/or its subsidiaries and/or its affiliates and/or their licensors.
Innovation Release