No error from .Save when task name is invalid

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

No error from .Save when task name is invalid

Post by someguy »

Tasks created with invalid characters, such as a colon, eg abc: def fail silently. The task never appears but no error is thrown.
isiticov
Site Admin
Posts: 2383
Joined: Thu Nov 21, 2002 3:17 pm

Post by isiticov »

This looks like the task was deleted before calling ActivateTask() method. Please be sure to always use Refresh() method before accessing to any task, sicne this will quarantee you that TaskScheduler always has actual list of task items. Also you may set AutoRefresh to True and this should help.
Post Reply