TaskId | String The internal identifier for the task. |
ServerId | String The host name of the Integration Server machine to which the task is assigned. |
Envelope | Document The document that is associated with the task; that is, the document that is being delivered by a delivery task or processed by a service execution task. For the structure of Envelope, see
wm.tn.rec:BizDocEnvelope. |
Ttw | Object 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 If the task fails, the additional 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. |
RetryLimit | Object The maximum number of times the task engine is to attempt to perform the task (for example, deliver a document or execute a service) after an initial failure. The data type of RetryLimit is com.wm.data.MInteger. |
RetryFactor | Object The factor you want the task engine to use 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. Specify a whole number greater than zero for RetryFactor. The data type of RetryFactor is com.wm.data.MInteger. |
Status | Integer The processing status of the task. Valid values are: NEW = 0 PENDING = 1 DONE = 2 FAILED = 3 STOPPED = 4 QUEUED = 5 DELIVERING = 6 HELD = 7 |
TimeCreated | Object The time the task was created. The data type of TimeCreated is com.wm.data.MLong. |
TimeUpdated | Object The time the task was last updated. The data type of TimeUpdated is com.wm.data.MLong. |
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. |