DescribeManagedTask (open)
Describes a managed task
Syntax
LOADLIB "mod::system/lib/tasks.whlib";
RECORD FUNCTION DescribeManagedTask(INTEGER taskid)Parameters
INTEGER taskidId of the managed task
Return value
RECORDManaged task info
creationdateCreation date of the task
RECORD dataTask data
INTEGER failuresNumber of failures
finishedDatetime when the task was marked as finished
STRING lasterrorsIf not empty, errors the task returned
RECORD metadataMetadata of this task
nextattemptNext time the task will be run
DATETIME notbeforeScheduled date after which the tasks can be executed
retvalReturn value of the task
STRING stacktraceHSON-encoded stack trace with errors
tasktypeType of the task (format: modulename:tasktypename)