B2B Integration : Trading Networks Built-In Services Reference : IS Document Types : Summary of Elements in this Folder : wm.tn.rec:TaskFailure
wm.tn.rec:TaskFailure
If the task failure notification feature is enabled, Trading Networks publishes a document of this type. This specifies the structure of the IS document type that is published whenever a task fails at its final retry attempt.
Variables
TaskId
String The internal identifier for the task.
ServerId
String The host name of the Integration Server machine to which the task is assigned.
DocId
String The internal ID of the document that is associated with the task; that is, the internal id of the document that is being delivered by a delivery task or processed by a service execution task.
Ttw
Object The value of time to wait parameter that the task engine used. If the first attempt to complete the task fails, the time to wait (in milliseconds) before making the first retry attempt to perform the task. The data type of Ttw is com.wm.data.MLong. (The task engine use Ttw along with RetryFactor to calculate how long to wait before making subsequent retry attempts.)
Retries
Object The number of times the task engine attempted to perform the task (for example, deliver a document or execute a service). The data type of Retries is com.wm.data.MInteger.
RetryFactor
Object The factor used by the task engine when determining how long to wait before making the second and subsequent attempts to perform the task. The task engine calculates the time to wait by multiplying the last wait time by RetryFactor. The data type of RetryFactor is com.wm.data.MInteger.
Status
String The status of the task.
TimeCreated
Object The time the task was created.
TimeUpdated
Object The time the task was last updated.
TransportStatus
String The status of the last attempt to perform the task. The value of TransportStatus is either success or fail.
If this is a delivery task, the delivery service used to deliver the document must return the status. If this is a service execution task, the service being executed by the task must return the status.
TransportStatusMsg
String A message associated with the last attempt to perform the task.
If this is a delivery task, the delivery service used to deliver the document returns the status message. If this is a service execution task, the service being executed by the task returns the status message.
TransportTime
Object The time (in milliseconds) associated with the last attempt to perform the task. The data type of TransportTime is com.wm.data.MLong.
If this is a delivery service, TransportTime is the time that the delivery service used to deliver the document. If this is a service execution task, TransportTime is the time it took the service to execute.
InputData
Document Additional data required by the associated service. For a delivery task, the associated service is the delivery service used to deliver the document. For a service execution task, the associated service is the service being executed by the task.
OutputData
Document The data returned by the last attempt to perform the task. The data type of OutputData is com.wm.data.IData.
If this is a delivery task, this is the data returned by the delivery service used to deliver the document. If this is a service execution task, this is the data returned by the service being executed by the task.
Service
Document The service that is associated with this task.
If this is a delivery task, this is the delivery service used to delivery the document. For the structure of Service, see wm.tn.rec:DeliveryService.
If this is a service execution task, this is the service being executed by the task.
Copyright © 2016- 2017 Software AG, Darmstadt, Germany.

Product LogoContact Support   |   Community   |   Feedback