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
![*](chapterTOC_bullet.png)
If taskId is not valid, the service throws an exception.
![*](chapterTOC_bullet.png)
The service retrieves any task regardless of the server on which the task was started.
![*](chapterTOC_bullet.png)
The service might run slower than
wm.tn.task:getTask because it might have to retrieve the information from the
Trading Networks database.