Show All

# <Task> Element

There must be at least one task in each Tasks collection.

Element Properties

Property | Value
--- | ---
Data Type | ComplexType
Minimum Occurrences | 0
Maximum Occurrences | Unbounded
Default Value | N/A
Abstract | False
Nillable | False
Element Constraints | Sequence

Parent Elements

<Tasks>

Child Elements

Element | Required/Optional | Description
--- | --- | ---
<UID> | Required | The unique ID for the task.
<ID> | Optional | The position identifier of the task in the list of tasks.
<Name> | Optional | The name of the task.
<Type> | Optional | The type of task.
<IsNull> | Optional | Indicates whether a task is null.
<CreateDate> | Optional | The date and time that a task was added to a project.
<Contact> | Optional | The name of the individual who is responsible for a task.
<WBS> | Optional | A unique code (WBS) used to represent a task's position within the hierarchical structure of the project.
<WBSLevel> | Optional | The right-most level of the task. For example, if the task level was A.01.03, the right-most level would be 03.
<OutlineNumber> | Optional | The number that indicates the level of a task in the project outline hierarchy.
<OutlineLevel> | Optional | Indicates the exact position of a task in the outline.
<Priority> | Optional | Indicates the level of importance assigned to a task
<Start> | Optional | The date and time that a task is scheduled to begin.
<Finish> | Optional | The date and time that a task is scheduled to be completed.
<Duration> | Optional | The total span of active working time for a task.
<DurationFormat> | Optional | The format used to show the duration of the task.
<Work> | Optional | The total amount of work scheduled to be performed on a task by all assigned resources.
<Stop> | Optional | The date that represents the end of the actual portion of a task.
<Resume> | Optional | The date the remaining portion of a task is scheduled to resume.
<ResumeValid> | Optional | Indicates whether the task can be resumed.
<EffortDriven> | Optional | Indicates whether scheduling for a task is effort-driven.
<Recurring> | Optional | Indicates whether a task is a recurring task.
<OverAllocated> | Optional | Indicates whether an assigned resource on a task has been assigned to more work on the task than can be done within the normal working capacity.
<Estimated> | Optional | Indicates whether the task's duration is flagged as an estimate.
<Milestone> | Optional | Indicates whether a task is a milestone.
<Summary> | Optional | Indicates whether a task is a summary task.
<Critical> | Optional | Indicates whether a task has room in the schedule to slip, or if it is on the critical path.
<IsSubproject> | Optional | Indicates whether the task is an inserted project.
<IsSubprojectReadOnly> | Optional | Indicates whether the inserted project is a read-only project.
<SubprojectName> | Optional | The source location of the inserted project.
<ExternalTask> | Optional | Indicates whether the task is linked from another project or whether it originated in the current project.
<ExternalTaskProject> | Optional | The source of an external task.
<EarlyStart> | Optional | The earliest date that a task could possibly begin, based on the early start dates of predecessor and successor tasks and other constraints.
<EarlyFinish> | Optional | The earliest date that a task could possibly finish, based on early finish dates of predecessor and successor tasks, other constraints, and any leveling delay.
<LateStart> | Optional | The latest date that a task can start without delaying the finish of the project.
<LateFinish> | Optional | The latest date that a task can finish without delaying the finish of the project.
<StartVariance> | Optional | The difference between a task's baseline start date and its currently scheduled start date.
<FinishVariance> | Optional | The amount of time that represents the difference between a task's baseline finish date and its current finish date.
<WorkVariance> | Optional | The difference between a task's baseline work and the currently scheduled work.
<FreeSlack> | Optional | The amount of time that a task can be delayed without delaying any successor tasks.
<TotalSlack> | Optional | The amount of time a task can be delayed without delaying a project's finish date.
<FixedCost> | Optional | A task expense that is not associated with a resource cost.
<FixedCostAccrual> | Optional | Indicates how fixed costs are to be charged, or accrued, to the cost of a task.
<PercentComplete> | Optional | The current status of a task, expressed as the percentage of the task's duration that has been completed.
<PercentWorkComplete> | Optional | The current status of a task, expressed as the percentage of the task's work that has been completed.
<Cost> | Optional | The total scheduled, or projected, cost for a task.
<OvertimeCost> | Optional | The sum of the actual overtime cost for the task.
<OvertimeWork> | Optional | The amount of overtime scheduled to be performed by all resources assigned to a task and charged at overtime rates.
<ActualStart> | Optional | The date and time that a task actually began.
<ActualFinish> | Optional | The date and time that a task actually finished.
<ActualDuration> | Optional | The span of actual working time for a task so far, based on the scheduled duration and current remaining work or percent complete.
<ActualCost> | Optional | The costs incurred for work already performed by all resources on a task, along with any other recorded costs associated with the task.
<ActualOvertimeCost> | Optional | The costs incurred for overtime work already performed on a task by all assigned resources.
<ActualWork> | Optional | The amount of work that has already been done by the resources assigned to a task.
<ActualOvertimeWork> | Optional | The actual amount of overtime work already performed by all resources assigned to a task.
<RegularWork> | Optional | The total amount of non-overtime work scheduled to be performed by all resources assigned to a task.
<RemainingDuration> | Optional | The total amount of non-overtime work scheduled to be performed by all resources assigned to a task.
<RemainingCost> | Optional | The amount of time required to complete the unfinished portion of a task.
<RemainingWork> | Optional | The remaining scheduled expense of a task that will be incurred in completing the remaining scheduled work by all resources assigned to a task.
<RemainingOvertimeCost> | Optional | The remaining scheduled overtime expense for a task.
<RemainingOvertimeWork> | Optional | The amount of remaining overtime scheduled by all assigned resources to complete a task.
<ACWP> | Optional | The costs incurred for work already done on a task, up to the project status date or today's date.
<CV> | Optional | The difference between how much it should have cost to achieve the current level of completion on the task and how much it has actually cost.
<ConstraintType> | Optional | The constraint on a scheduled task.
<CalendarUID> | Optional | Refers to a valid UID in a Project Calendar.
<ConstraintDate> | Optional | Indicates the constrained start or finish date as defined in TaskConstraintType.
<Deadline> | Optional | The date entered as a deadline for the task.
<LevelAssignments> | Optional | Indicates whether the leveling function can delay and split individual assignments (rather than the entire task) to resolve overallocations.
<LevelingCanSplit> | Optional | Indicates whether the resource leveling function can cause splits on remaining work on a task.
<LevelingDelay> | Optional | The amount of time that a task is to be delayed from its early start date as a result of resource leveling.
<LevelingDelayFormat> | Optional | The format for expressing the duration of the delay.
<PreLeveledStart> | Optional | The start date of a task as it was before resource leveling was done.
<PreLeveledFinish> | Optional | The finish date of a task as it was before resource leveling was done.
<Hyperlink> | Optional | The title or explanatory text for a hyperlink associated with a task.
<HyperlinkAddress> | Optional | The address for a hyperlink associated with a task.
<HyperlinkSubAddress> | Optional | The specific location in a document within a hyperlink associated with a task.
<IgnoreResourceCalendar> | Optional | Indicates whether the scheduling of the task takes into account the calendars of the resources assigned to the task.
<Notes> | Optional | Notes entered about a task.
<HideBar> | Optional | Indicates whether the Gantt bars and Calendar bars for a task are hidden.
<Rollup> | Optional | Indicates whether the summary task bar displays rolled-up bars or whether information on the subtask Gantt bars will be rolled up to the summary task bar.
<BCWS> | Optional | The cumulative timephased baseline costs up to the status date or today's date; also known as budgeted cost of work scheduled.
<BCWP> | Optional | The cumulative value of the task's timephased percent complete multiplied by the task's timephased baseline cost, up to the status date or today's date; also known as budgeted cost of work performed.
<PhysicalPercentComplete> | Optional | The physical percent of the total work on a task that has been completed.
<EarnedValueMethod> | Optional | Indicates the type of earned value method to use.
<PredecessorLink> | Optional | Defines the predecessor task of the task that contains it.
<ActualWorkProtected> | Optional | Specifies the duration through which actual work is protected.
<ActualOvertimeWorkProtected> | Optional | Specifies the duration through which actual overtime work is protected.
<ExtendedAttribute> | Optional | The value of an extended attribute.
<Baseline> | Optional | The collection of baseline values of the task.
<OutlineCode> | Optional | The value of an outline code.
<TimephasedData> | Optional | The time phased data block associated with the task.

See Also

XML Schema for the <Task> Element
XML Structure for the <Task> Element

©2003-2004 Microsoft Corporation. All rights reserved. Permission to copy, display and distribute this document is available at: http://msdn.microsoft.com/library/en-us/odcXMLRef/html/odcXMLRefLegalNotice.asp