B2B Integration : Trading Networks Built-In Services Reference : IS Document Types : Summary of Elements in this Folder : wm.tn.rec:TaskDbUpdate
wm.tn.rec:TaskDbUpdate
If the Trading Networks property, tn.task.dbupdate.retryEnabled is set to true, Trading Networks publishes a document of this type when it attempts to retry updating its database with information for a task.
This IS document type specifies the structure of the document that Trading Networks publishes.
Variables
TaskId
String The internal identifier for the task.
UpdateStatus
String Whether the attempt to update the database on this retry is successful. UpdateStatus is either success or fail.
UpdateRetry
Object If the attempt to update the database fails, this is the number of times that Trading Networks has attempted to update the database for this task. The data type of UpdateRetry is com.wm.data.MInteger.
TNMessage
The message that Trading Networks logs to the Integration Server log when it attempts to retry to update the database for the task. Trading Networks logs the message to the server log whether the attempt fails or succeeds. This message is logged at log level 4.
DbErrorMessage
String The database error message that caused the task update to fail. The value of DbErrorMessage is null, if UpdateStatus is success.
StackTrace
String If the UpdateStatus is fail, this is the stack trace of the database exception.
TaskStatus
String The processing status of the task. Possible values are: NEW, PENDING, DONE, FAILED, STOPPED, QUEUED, DELIVERING.
TaskRetries
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 TaskRetries is com.wm.data.MInteger.
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.
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.
Copyright © 2016- 2017 Software AG, Darmstadt, Germany.

Product LogoContact Support   |   Community   |   Feedback