Task Created
When tasks are created by a mobile worker (ad-hoc, resulting in a createTask attachment) or when a dispatcher has inserted an absence, OMD creates a task attachment with subtype taskCreated. The ERP system can interpret these tasks and keep track of absence entered in OMD.
Attribute | Description | Optional | Example |
---|---|---|---|
attachmentType | The type of this attachment. Needs to be 1, which means "text". | no | 1 |
subType | The sub-type of this attachment is "taskCreated". | no | taskCreated |
format | The address of the task/absence. | no | Google Drive, Southampton, GB |
reference | The ID of the new task/absence. | no | 58a1ae2d-24ec-4745-887f-f66a00960183 |
content | The datetime, resource and estimatedDuration of the new task (comma-separated). | no | 2018-10-03 11:33:00,156A,40.0 |
processFlow | The status of the task (defaults to AB for absence). | no | AB |
extra | In case the task is a converted break, this field contains additional information. | no | see below |
Example of an extra XML document
<Data>
<BreakType name="1" description="Holiday" remarks="Well deserved" createdBy="John Doe"/>
</Data>