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. |
includeBizDocErrors | true - Default. Envelope is loaded with errors from the Activity Log. false - Envelope is not loaded with errors from the Activity Log. |
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.

If you do not need errors in Envelope, set the
includeBizDocErrors parameter to false to decrease the retrieval time and memory usage.