Please note : This help page is not for the latest version of Enterprise Architect. The latest help can be found here.

Task Class

A Task is an entry in the System ToDo list. Accessed using the Repository Tasks collection.

Associated table in .EAP file: t_tasks

Task Attributes

Attribute

Type

Notes

ActualTime

Long

Read/Write. Time already expended on task, in hours, days or other units.

AssignedTo

String

Read/Write. Person this task is assigned to; that is, the responsible resource.

EndDate

Date

Read/Write. Date task scheduled to finish.

History

String

Read/Write. Memo field to hold, for example, task history or notes.

Name

Variant

Read/Write. Task name.

Notes

Variant

Read/Write. Description of the task.

ObjectType

ObjectType

Read only. Distinguishes objects referenced through a Dispatch interface.

Owner

String

Read/Write. The task owner.

Percent

Long

Read/Write. Percent the task is complete.

Phase

String

Read/Write. The phase of the project the task relates to.

Priority

String

Read/Write. Priority associated with this task.

StartDate

Date

Read/Write. Date task is to start.

Status

Variant

Read/Write. Current task status.

TaskID

Long

Read only. Local ID of task.

TotalTime

Long

Read/Write. The total expected time the task might run - in hours, days or some other unit.

Type

String

Read/Write. Sets or returns string representing the type.

Task Methods

Method

Type

Notes

GetLastError ()

String

Returns a string value describing the most recent error that occurred in relation to this object.

This function is rarely used as an exception is thrown when an error occurs.

Update ()

Boolean

Update the current Task object after modification or appending a new item. If false is returned, check the GetLastError function for more information.