B2B Integration 10.4 | Administering and Monitoring B2B Transactions | Trading Networks Built-In Services Reference | Task Folder | Summary of Elements in this Folder | wm.tn.task:getTaskOutput
 
wm.tn.task:getTaskOutput
Retrieves the output of a specified task.
Input Parameters
taskId
String The internal identifier of the task for which you want to retrieve output.
timeout
String (optional) The amount of time to wait for output from the task. Specify timeout in milliseconds. The default is 0.
Output Parameters
taskOutput
Document The output from the task. For the structure of taskOutput, see wm.tn.rec:ReliableServiceOutput.
Usage Notes
*To synchronously retrieve the output from the task, specify a value for timeout greater than 0. When you specify a value for timeout that is greater than 0, a block occurs until the task completes. If the task does not complete in the time you specify, the service throws an exception.
*To check the status of a task before you use this service, call wm.tn.task:getTaskStatus.

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.
Innovation Release