Trading Networks 10.3 | Administering and Monitoring B2B Transactions | Trading Networks Built-In Services Reference | Query Folder | Summary of Elements in this Folder | wm.tn.query:createEventQuery
 
wm.tn.query:createEventQuery
Creates a query for activity log entries in the Trading Networks database.
Input Parameters
entryType
String (optional) The type of entries to match. Specify ERROR, WARNING, or MESSAGE.
entryClass
String (optional) The category (or activity class) of entries to match. You can specify a value that you use when adding entries to the activity log or one of the following activity classes that Trading Networks sets:
*Delivery
*Envelope
*Persistence
*Recognition
*Processing
*Validation
*Verification
*General
For a description of the activity classes that Trading Networks uses, see information about using the activity log in the webMethods Trading Networks User’s Guide.
internalDocId
String (optional) The internal document ID for documents that are related to the activity log entries to match.
internalPartnerId
String (optional) The internal partner ID for the trading partners that are related to the activity log entries to match.
conversationID
String (optional) The conversation ID that is related to the activity log entries to match.
stepId
String (optional) The conversation step ID that is related to the activity log entries to match.
B2BUser
String (optional) The user name for the current user account when the activity log entries to match were added.
messageText
String (optional) The message text (in either the activity log brief or full message) for the activity log entries to match.
timeInterval
String (optional) The time period in which the activity log entries were created by Trading Networks. Specify one of the following:
*TODAY
*YESTERDAY
*LAST_7_DAYS
*THIS_WEEK
*LAST_WEEK
*THIS_MONTH
*LAST_MONTH
*YTD
Output Parameters
query
Object An instance of com.wm.app.tn.db.EventQuery.