Trading Networks 10.7 | Administering and Monitoring B2B Transactions | Trading Networks Built-In Services Reference | Route Folder | Summary of Elements in this Folder | wm.tn.route:getAnyTask
 
wm.tn.route:getAnyTask
Retrieves information about a task. If your Integration Server is in a clustered environment, the service can retrieve a task associated with any server in the cluster.
Input Parameters
taskId
String The internal identifier for the task that you want to retrieve.
Output Parameters
task
Document The task identified by taskId that this service retrieved. For the structure of task, see wm.tn.rec:Task.
Usage Notes
*If taskId is not valid, the service throws an exception.
*The service retrieves any task regardless of the server on which the task was started.
*The service might run slower than wm.tn.task:getTask because it might have to retrieve the information from the Trading Networks database.