B2B Integration 10.5 | Administering and Monitoring B2B Transactions | Trading Networks Built-In Services Reference | Task Folder | Summary of Elements in this Folder | wm.tn.task:getAnyTask
 
wm.tn.task:getAnyTask
Retrieves information about a task. If your Integration Server is in a clustered environment, this service can retrieve a task associated with any server in the cluster.
Input Parameters
taskId
String The internal identifier for the task to retrieve.
content
String Whether to retrieve the content of the document that is associated with the task ID. Valid values are:
*true - Retrieves document content.
*false - Default. Does not retrieve document content.
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.
*This service retrieves any task regardless of the server on which the task was started. This service may run slower than wm.tn.task:getTask if it requires information from the Trading Networks database.
*If you do not need the document content, set content to false to decrease retrieval time.

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.