TTaskScheduler.ActiveTask varies from documentation

This forum is designated to discuss SiComponents Scheduling Agent.
Post Reply
someguy
Posts: 6
Joined: Sun May 30, 2004 9:16 am

TTaskScheduler.ActiveTask varies from documentation

Post by someguy »

The TTaskScheduler.ActiveTask(xxxx) function does not return NIL as documented when no task exists with the specified name. Instead, it returns an invalid TTask. Accessing information on the returned object results in an ETaskError exception.

Could you please fix this asap as there is no other way to determine whether a named task already exists other than enumerating every task in the list.

Thanks
Post Reply