B2B Integration 10.2 | Administering and Monitoring B2B Transactions | Trading Networks Built-In Services Reference | Query Folder | Summary of Elements in this Folder | wm.tn.query:createTaskQuery
 
wm.tn.query:createTaskQuery
Creates a query for delivery and service execution tasks.
Input Parameters
internalDocId
String (optional) The internal document ID of the tasks to match.
taskId
String (optional) The ID of the task to match.
taskType
String (optional) The task type of the tasks to match. Valid values are:
*Delivery - To match only delivery tasks.
*Service Execution - To match only service execution tasks.
internalPartnerId
String (optional) The internal partner ID of the partner that is associated with the tasks to match.
taskStatus
String (optional) The status of the tasks to match. Valid values:
*NEW
*PENDING
*DONE
*FAILED
*STOPPED
deliveryMethod
String (optional) The delivery method of the tasks to match. Use wm.tn.delivery:getRegisteredServices to get a list of registered delivery services. You can specify the name of any registered service for deliveryMethod.
serverId
String (optional) The server ID of the server that is processing the tasks to match.
timeCreated
String (optional) The time period in which Trading Networks created the tasks. Specify one of the following:
*TODAY
*YESTERDAY
*LAST_7_DAYS
*THIS_WEEK
*LAST_WEEK
*THIS_MONTH
*LAST_MONTH
*YTD
queueName
String The name of the delivery queue to match tasks.
Output Parameters
query
Object An instance of com.wm.app.tn.db.DeliveryJobQuery.

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.