(Contents)(Previous)(Next)

Task Object

The Task object represents an OfficeTalk Task. This object provides access to the common object functionality but has properties which let you get and set certain task attributes, such as the task name, priority, completion status etc.

Task Methods
Edit Lets the caller edit the properties of the Task via a dialog box
Update Saves changes to this task
Delete Deletes the task
Value Gets the value of the passed in field/column name
Value= Sets the value of the passed in field/column name
SetNotes Sets the notes associated with the task
GetNotes Gets the notes associated with the task
Task Properties
Name Represents the tasks description
LastEditedDate The date on which the task was last changed
CreationDate The date when the task was created
Private True if this task is private.
Priority The task priority
Completed True if this task has been completed
Overdue True if this task is overdue
Available Fields
Name
Type
Description
ID Long The task's ID
Complete Boolean True if this task has been completed (read only)
Name String The description of the task
Has Note Boolean True if this task has associated notes
Priority Numeric The priority of this task. Numeric value ranging from 0 to 4.
Has Deadline Boolean True if this task has a deadline
Deadline Date The deadline date and time for this task
Deadline Date Date The deadline date for this task
Deadline Time Date The deadline time for this user
% Complete Numeric The percentage completeness of this task. Numeric range from 0 to 100
Assigned Boolean True if this task has been assigned
Assigned To String The name of the person to whom this task has been assigned
Assigning User String The name of the user who assigned this task.
Completed Date Date The date when the task was completed
Last Edited Date The date when the task was last edited
Overdue Boolean True if this task is overdue
Private Boolean True if this task is private
Scheduled Boolean True if this task is scheduled onto your diary
If the task is a project task and it was accessed via a call to project.GetTasks.GetFirst for example, then the task will have additional available fields which are listed below:

Project Task Available Fields
Name
Type
Description
Planned Duration String The duration of the project task. If the appointment is 2 hours and 35 minutes in duration, the value of this field will be "2h35m"
Planned Start Date The planned start date and time of the project task
Planned Start Date Date The planned start date of the project task
More:

SetNotes()

GetNotes()

Private (property)

Priority (property)

Completed (property)

Overdue (property)


Next