Trading Networks 10.3 | Administering and Monitoring B2B Transactions | Trading Networks Built-In Services Reference | Route Folder | Summary of Elements in this Folder | wm.tn.route:getTask
 
wm.tn.route:getTask
Retrieves a specified task that is associated with this server (the server on which the wm.tn.route:getTask service is being executed).
Input Parameters
taskID
String The internal unique identifier of the task that you want to retrieve.
Output Parameters
task
Document The task identified by taskID that the service retrieves. For the structure of task, see wm.tn.rec:Task.
Usage Notes
*If taskID is not valid, the service throws an exception.
*Each task is associated with a single server, so taskID must be associated with the same server on which the task was started.
*To get a task that was started on another server, see the wm.tn.route:getAnyTask service.