GetTaskFromOID

Description

Gets a task from Pocket Outlook using the object ID.

Applies to

POOM objects

Syntax

POOMTask objectname.GetTaskFromOID ( oid )

Argument

Description

objectname

The name of the POOM object

oid

Unsignedlong for the object ID of the task that you want to retrieve

Returns

POOMTask. Use IsValid to determine whether a valid task was returned.

Usage

A user must be logged in to a POOM object to get a task from Pocket Outlook.

Examples

Example 1

The following example retrieves a task with an object ID of 12:

myTask = g_poom.getTaskFromOID(12)
if IsValid(myTask) then
   // Use myTask
end if

See also