Trading Networks 10.7 | Administering and Monitoring B2B Transactions | Trading Networks Built-In Services Reference | IS Document Types | Summary of Elements in this Folder | wm.tn.rec:PreProcessingFlags
 
wm.tn.rec:PreProcessingFlags
The pre-processing actions for a document that are specified in a Trading Networks document type or processing rule.
These are typically instances of com.wm.app.tn.route.PreRoutingFlags.
Variables
verify?
String Whether documents should be verified. Valid values are:
*yes Documents should be verified.
*no Documents should not be verified.
*don't care Use the setting specified in the TN document type for the document being processed.
validate?
String Whether documents should be validated. Valid values are:
*yes Documents should be validated.
*no Documents should not be validated.
*don't care Use the setting specified in the TN document type for the document being processed.
persist?
String Whether documents should be saved to the database. Valid values are:
*yes Documents should be saved to the database.
*no Documents should not be saved to the database.
*only if unique Documents are saved only if they are unique.
*don't care Use the setting specified in the TN document type for the document being processed.
persistOption?
String The data that Trading Networks is to save for the document. Valid values are:
*content, attributes and activity log - Trading Networks saves all data associated with the document; that is, Trading Networks saves the document content, the values it extracted for the custom attributes, and the activity log entries that relate to the document.
*content only - Trading Networks saves only the document content. Trading Networks does not save the values of any extracted custom attributes or the related activity log entries.
*attributes only - Trading Networks saves only the values it extracts for the custom attributes. Trading Networks does not save the document content or the related activity log entries.
*activity log only - Trading Networks saves only the activity log entries that are related to the document. Trading Networks does not save the document content or the values of any extracted custom attributes.
*content and attributes - Trading Networks saves the document content and the values of all extracted custom attributes. Trading Networks does not save the related activity log entries.
*attributes and activity log - Trading Networks saves the values of all extracted custom attributes and the activity log entries that relate to the document. Trading Networks does not save the document content.
*don't care - Trading Networks defers to the settings specified in the TN document type to determine the data to save for the document.
*persist none Trading Networks saves no data associated with the document.
unique
String Whether documents should checked to determine if they are unique.
Document uniqueness criteria. Valid values: “don't care”, “Native ID only”, “Native ID and sender.”
Valid values are:
*DocumentID only - The document is checked for uniqueness. To determine if the document is unique, Trading Networks determines whether another document with the same document ID exists in the database. (The document ID is a user-defined, external identifier for the document.)
*DocumentID and sender - The document is checked for uniqueness. To determine if the document is unique, Trading Networks determines whether another document with the same document ID and sender exists in the database.
*DocumentID, sender and receiver - The document is checked for uniqueness. To determine if the document is unique, Trading Networks determines whether another document with the same document ID, sender, and receiver exists in the database.
*DocumentID, sender and document type - The document is checked for uniqueness. To determine if the document is unique, Trading Networks determines whether another document with the same document ID, sender, and TN document type exists in the database.
*don't care - Use the setting specified in the TN document type for the document being processed.