This documentation is archived and is not being maintained.

Task Element (ChangeList)

Last modified: March 16, 2010

Applies to: Office 2010 | Project 2010 | Project Server 2010 | SharePoint Server 2010

In this article
Attributes
Child Elements
Parent Elements
Occurrences

Specifies the identity of the task to change with a status update and contains change information.


<Task
  ID="Text"
  ResID="Text" >
</Task>

Attribute

Description

ID

Required Text. Specifies the globally unique identifier (GUID) of the task. Values must be in the form "HHHHHHHH-HHHH-HHHH-HHHH-HHHHHHHHHHHH" where "H" represents a hexadecimal digit between "0" and "F".

ResID

Optional Text. Specifies the GUID of the resource for the task. Values must be in the form "HHHHHHHH-HHHH-HHHH-HHHH-HHHHHHHHHHHH" where "H" represents a hexadecimal digit between "0" and "F".

Minimum: 0

Maximum: Unbounded

For information about updatable task fields, PIDs, and required data types, see Supported Project Fields and Field Information for Statusing ChangeXML.

The following example specifies two updates to a single task, where the resource is not specified. The first Change element specifies that the Task Name field should be changed to the value MyTask. The second Change element specifies that the Finish field for the task should be changed to the value of 5pm October 13, 2006.

<Changes>
  <Proj ID="a47faeab-0f72-455a-b629-d62faf5fece6">
    <Task ID="0f8e477d-8dd9-4011-95cc-2499bb10cf10">
      <Change PID="184549403">MyTask</Change>
      <Change PID="184549387">2006-10-13T17:00:00</Change>
    </Task>
  </Proj>
</Changes>
Show: