Work Element
This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This page may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.
For a Task, Work is the total amount of work scheduled to be performed on a task by all assigned resources.
For a Resource, it is the total amount of work scheduled to be performed by a resource on all assigned tasks.
For an Assignment, it is the total amount of work scheduled to be performed by a resource on a task.
For a Baseline, it is the scheduled work for the task, resource or assignment when the baseline was saved.
<Work>
DurationValue
</Work>
Parent Elements
Occurrences
Minimum: 0 Maximum: 1 |
Example
The following example shows there are 16 hours of work scheduled for all resources on task T3. Because the scheduled duration is also 16 hours, work on the task hasn't started. The Work value PT16H0M0S specifies 16 hours, 0 minutes, 0 seconds. The PT stands for Project Time and is for internal use.
<Task>
<UID>3</UID>
<ID>3</ID>
<Name>T3</Name>
<Type>1</Type>
<IsNull>0</IsNull>
<CreateDate>2007-11-09T15:30:00</CreateDate>
<WBS>3</WBS>
<OutlineNumber>3</OutlineNumber>
<OutlineLevel>1</OutlineLevel>
<Priority>500</Priority>
<Start>2007-11-15T08:00:00</Start>
<Finish>2007-11-16T17:00:00</Finish>
<Duration>PT16H0M0S</Duration>
<DurationFormat>53</DurationFormat>
<Work>PT16H0M0S</Work>
. . .
</Task>
See Also
Concepts
Task Elements and XML Structure
XML Schema for the Tasks Element
Resource Elements and XML Structure
XML Schema for the Resources Element