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. Tasks can be accessed using the Repository Tasks collection.

Associated table in .EAP file:   t_tasks

Task Attributes:

Attribute

Type

Notes

ActualTime

Long

Read/Write

The time already expended on the task, in hours, days or other units.

 

AssignedTo

String

Read/Write

The person this task is assigned to; that is, the responsible resource.

 

EndDate

Date

Read/Write

The date the task is scheduled to finish.

 

History

String

Read/Write

A memo field to hold, for example, task history or notes.

 

Name

Variant

Read/Write

The task name.

 

Notes

Variant

Read/Write

A 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

The percentage completion of the task.

 

Phase

String

Read/Write

The phase of the project the task relates to.

 

Priority

String

Read/Write

The priority of this task.

 

StartDate

Date

Read/Write

The date the task is to start.

 

Status

Variant

Read/Write

The current status of the task.

 

TaskID

Long

Read only

The local ID of the 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 a 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

Updates the current Task object after modification or appending a new item.

If false is returned, check the GetLastError function for more information.