LookupManagedTasks (open)

Look up managed tasks

Syntax

LOADLIB "mod::system/lib/tasks.whlib";

RECORD ARRAY FUNCTION LookupManagedTasks(STRING type, RECORD searchparameters)

Parameters

STRING type

Type of the task (wildcards accepted)

RECORD searchparameters

Search parameters

DATETIME createdafter

Only return taskscreated on or after this date

BOOLEAN unfinished

Only return unfinished tasks

Return value

RECORD ARRAY

List of tasks

creationdate

Creationdate of this task

id

Id of the task

tasktype

Type of the task