Trading Networks 10.3 | Administering and Monitoring B2B Transactions | Trading Networks Built-In Services Reference | Core Services | Summary of Elements in this Folder | wm.tn:log
 
wm.tn:log
Adds the specified information as an entry into the Trading Networks activity log.
Input Parameters
entryType
String The type of the entry. The valid values for entryType are:
ERROR
WARNING
MESSAGE
entryClass
String (optional) The category (or activity class) for the entry. The value can be any string from 1-20 characters. Trading Networks uses the following activity classes:
Delivery
Envelope
General
Processing
Saving
Recognition
Validation
Verification
For a description of the activity classes that Trading Networks uses, see webMethods Trading Networks User’s Guide.
briefMessage
String A brief synopsis of the entry. The value can be any string from 1-80 characters.
fullMessage
String (optional) A more detailed message about the reason for adding the activity log entry. The value can be any string from 1-1024 characters.
relatedDocId
String (optional) The internal ID of the document related to this activity log entry.
relatedPartnerId
String (optional) The partner ID for the partner related to this activity log entry.
B2BUser
String (optional) The user name of the current user when this activity log entry is created.
relatedConversationID
String (optional) The conversation ID that is related to this activity log entry.
Output Parameters
updateCount
String Whether the entry was added or failed to be added for some reason. The following values apply:
*1 - The service added the entry.
*0 - The service did not add the entry.
Usage Notes
Use this service to log events that occur in the Trading Networks system. Because of data integrity constraints in the database, if you specify a related document, that document must already be saved. If you specify the ID of an unsaved document, or an unknown partner ID, the service does not add the activity log entry.